#CB40DC
Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.244 323.1), rgb(203, 64, 220).
Aa
Black text reads best on this color (5.30:1).
About this color
#CB40DC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.244 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.033 away. Black text reads best on it, at 5.30:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.244) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.30:1 |
| White text | 3.95:1 |
Values
| HEX | #CB40DC |
| RGB | rgb(203, 64, 220) |
| HSL | hsl(293, 69%, 56%) |
| OKLCH | oklch(63.1% 0.244 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 #CB40DC | 3.95:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #CB40DC | 5.30:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #CB40DC text on white | 3.95:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #CB40DC text on black | 5.30: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
#F6E3F8
oklch(93.7% 0.035 322.9)
-
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
#D871E4
oklch(70.8% 0.191 323.3)
-
Step 500
500 (this color)
#CB40DC
oklch(63.1% 0.244 323.1)
-
Step 600
600
#B600C8
oklch(55.6% 0.262 323.3)
-
Step 700
700
#9900A9
oklch(49% 0.231 323.1)
-
Step 800
800
#7F008C
oklch(42.8% 0.202 323.3)
-
Step 900
900
#671371
oklch(37.8% 0.16 323.1)
-
Step 950
950
#3C0F42
oklch(27% 0.1 322.8)
#CB40DC 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) | #0076E0 | 0.254 |
| Deuteranopia (no green cones) | #5985D8 | 0.215 |
| Tritanopia (no blue cones) | #CE5C8A | 0.146 |
| Achromatopsia (no color) | #808080 | 0.246 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CB40DC
#CB40DC
oklch(63.1% 0.244 323.1)
- #00A714
#00A714
oklch(63.2% 0.21 143.2)
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 #CB40DC, closest first.
No curated palette has a color within ΔE 0.04 of #CB40DC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.033
- Medium Orchid #BA55D3 ΔE 0.045
- Heliotrope #D94FF5 ΔE 0.050
- Pinky Purple #C94CBE ΔE 0.052
- Purpley Pink #C83CB9 ΔE 0.053
- Hot Purple #CB00F5 ΔE 0.061
- Bright Lilac #C95EFB ΔE 0.063
- Bright Lavender #C760FF ΔE 0.070
Use #CB40DC 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.