#C02DAB
Closest named color: Purpley Pink (#C83CB9). oklch(57.3% 0.222 334.7), rgb(192, 45, 171).
Aa
White text reads best on this color (4.99:1).
About this color
#C02DAB is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.222 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.032 away. White text reads best on it, at 4.99:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.222) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.20:1 |
| White text | 4.99:1 |
Values
| HEX | #C02DAB |
| RGB | rgb(192, 45, 171) |
| HSL | hsl(309, 62%, 46%) |
| OKLCH | oklch(57.3% 0.222 334.7) |
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 #C02DAB | 4.99:1 | AA | Lc -78.6 | Fine for body text |
| Black text on #C02DAB | 4.20:1 | AA large text | Lc 30.9 | Non-text elements, placeholder text |
| #C02DAB text on white | 4.99:1 | AA | Lc 73.2 | Content text, not long reading |
| #C02DAB text on black | 4.20:1 | AA large text | Lc -28.5 | Dividers and decoration only |
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 600.
-
Step 50
50
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F7E3F2
oklch(93.6% 0.029 334.4)
-
Step 200
200
#F1CCE8
oklch(88.5% 0.055 334.6)
-
Step 300
300
#E9A8DB
oklch(80.9% 0.101 334.4)
-
Step 400
400
#DC76C8
oklch(70.7% 0.161 334.9)
-
Step 500
500
#CF4DBA
oklch(63.1% 0.204 334.6)
-
Step 600
600 (this color)
#C02DAB
oklch(57.3% 0.222 334.7)
-
Step 700
700
#A0148E
oklch(49.1% 0.207 334.7)
-
Step 800
800
#821773
oklch(42.7% 0.171 334.8)
-
Step 900
900
#691C5D
oklch(37.7% 0.134 334.9)
-
Step 950
950
#3E1237
oklch(27% 0.086 334.5)
#C02DAB 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) | #2B62AE | 0.245 |
| Deuteranopia (no green cones) | #6277A8 | 0.207 |
| Tritanopia (no blue cones) | #C93B6A | 0.112 |
| Achromatopsia (no color) | #6F6F6F | 0.224 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C02DAB
#C02DAB
oklch(57.3% 0.222 334.7)
- #009051
#009051
oklch(57.4% 0.142 154.8)
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 #C02DAB, closest first.
No curated palette has a color within ΔE 0.04 of #C02DAB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.032
- Pinky Purple #C94CBE ΔE 0.056
- Medium Violet Red #C71585 ΔE 0.061
- Purply #983FB2 ΔE 0.079
- Medium Orchid #BA55D3 ΔE 0.080
- Purple Pink #D725DE ΔE 0.086
- Warm Purple #952E8F ΔE 0.093
- Dark Orchid #9932CC ΔE 0.096
Use #C02DAB 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.