#CA42DB
Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.241 323.1), rgb(202, 66, 219).
Aa
Black text reads best on this color (5.31:1).
About this color
#CA42DB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.241 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.036 away. Black text reads best on it, at 5.31:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.241) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #CA42DB |
| RGB | rgb(202, 66, 219) |
| HSL | hsl(293, 68%, 56%) |
| OKLCH | oklch(63.1% 0.241 323.1) |
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 #CA42DB | 3.95:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #CA42DB | 5.31:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #CA42DB text on white | 3.95:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #CA42DB text on black | 5.31:1 | AA | Lc -35.9 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F5E3F7
oklch(93.6% 0.033 322.8)
-
Step 200
200
#EFCBF3
oklch(88.5% 0.066 322.9)
-
Step 300
300
#E6A6ED
oklch(80.9% 0.119 323.2)
-
Step 400
400
#D772E3
oklch(70.7% 0.188 323.2)
-
Step 500
500 (this color)
#CA42DB
oklch(63.1% 0.241 323.1)
-
Step 600
600
#B502C8
oklch(55.5% 0.262 323)
-
Step 700
700
#9900AA
oklch(49.1% 0.232 322.8)
-
Step 800
800
#7F008C
oklch(42.8% 0.202 323.3)
-
Step 900
900
#661470
oklch(37.6% 0.157 323.1)
-
Step 950
950
#3C0F42
oklch(27% 0.1 322.8)
#CA42DB 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) | #0776DF | 0.250 |
| Deuteranopia (no green cones) | #5A85D7 | 0.211 |
| Tritanopia (no blue cones) | #CD5D8A | 0.144 |
| Achromatopsia (no color) | #808080 | 0.243 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA42DB
#CA42DB
oklch(63.1% 0.241 323.1)
- #00A712
#00A712
oklch(63.2% 0.211 143.1)
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 #CA42DB, closest first.
No curated palette has a color within ΔE 0.04 of #CA42DB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.036
- Medium Orchid #BA55D3 ΔE 0.042
- Pinky Purple #C94CBE ΔE 0.049
- Heliotrope #D94FF5 ΔE 0.050
- Purpley Pink #C83CB9 ΔE 0.051
- Bright Lilac #C95EFB ΔE 0.062
- Hot Purple #CB00F5 ΔE 0.064
- Bright Lavender #C760FF ΔE 0.069
Use #CA42DB 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.