#C398FC
Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.146 302.9), rgb(195, 152, 252).
Aa
Black text reads best on this color (9.21:1).
About this color
#C398FC is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.146 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.016 away. Black text reads best on it, at 9.21:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.21:1 |
| White text | 2.27:1 |
Values
| HEX | #C398FC |
| RGB | rgb(195, 152, 252) |
| HSL | hsl(266, 94%, 79%) |
| OKLCH | oklch(75.8% 0.146 302.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C398FC | 2.27:1 | Fails | Lc -49.6 | Large or bold text, headings |
| Black text on #C398FC | 9.21:1 | AAA | Lc 59.2 | Large or bold text, headings |
| #C398FC text on white | 2.27:1 | Fails | Lc 44.8 | Non-text elements, placeholder text |
| #C398FC text on black | 9.21:1 | AAA | Lc -57.3 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#DFD2F5
oklch(88.5% 0.049 302.3)
-
Step 300
300
#CCB3F2
oklch(81% 0.091 302.6)
-
Step 400
400 (this color)
#C398FC
oklch(75.8% 0.146 302.9)
-
Step 500
500
#A167E4
oklch(63.2% 0.185 302.9)
-
Step 600
600
#8D49D2
oklch(55.6% 0.203 303.2)
-
Step 700
700
#7839B6
oklch(49.1% 0.189 303.1)
-
Step 800
800
#613193
oklch(42.7% 0.155 302.8)
-
Step 900
900
#4F2D75
oklch(37.7% 0.12 302.8)
-
Step 950
950
#2E1B45
oklch(27% 0.077 302.4)
#C398FC with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #80ABFF | 0.096 |
| Deuteranopia (no green cones) | #89ACF9 | 0.090 |
| Tritanopia (no blue cones) | #B9A8BE | 0.111 |
| Achromatopsia (no color) | #ACACAC | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C398FC
#C398FC
oklch(75.8% 0.146 302.9)
- #9FBF4C
#9FBF4C
oklch(75.8% 0.146 123)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C398FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.016
- Pastel Purple #CAA0FF ΔE 0.023
- Liliac #C48EFD ΔE 0.024
- Lilac #CEA2FD ΔE 0.031
- Pale Violet #CEAEFA ΔE 0.060
- Pale Purple #B790D4 ΔE 0.062
- Plum #DDA0DD ΔE 0.069
- Lavender Pink #DD85D7 ΔE 0.071
Use #C398FC in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.