#CD40D5
Closest named color: Purple Pink (#D725DE). oklch(63% 0.24 325.6), rgb(205, 64, 213).
Aa
Black text reads best on this color (5.29:1).
About this color
#CD40D5 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.240 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.035 away. Black text reads best on it, at 5.29:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.240) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.29:1 |
| White text | 3.96:1 |
Values
| HEX | #CD40D5 |
| RGB | rgb(205, 64, 213) |
| HSL | hsl(297, 64%, 54%) |
| OKLCH | oklch(63% 0.24 325.6) |
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 #CD40D5 | 3.96:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #CD40D5 | 5.29:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #CD40D5 text on white | 3.96:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #CD40D5 text on black | 5.29:1 | AA | Lc -35.7 | 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
#FBF2FB
oklch(97.1% 0.015 325.7)
-
Step 100
100
#F6E3F6
oklch(93.7% 0.032 325.8)
-
Step 200
200
#F0CBF1
oklch(88.5% 0.065 325.3)
-
Step 300
300
#E8A6EA
oklch(81% 0.118 325.6)
-
Step 400
400
#DA71DF
oklch(70.8% 0.188 325.6)
-
Step 500
500 (this color)
#CD40D5
oklch(63% 0.24 325.6)
-
Step 600
600
#B800C2
oklch(55.6% 0.259 325.5)
-
Step 700
700
#9C00A4
oklch(49.1% 0.229 325.7)
-
Step 800
800
#810088
oklch(42.8% 0.2 325.6)
-
Step 900
900
#68136D
oklch(37.7% 0.157 325.6)
-
Step 950
950
#3D0F40
oklch(27% 0.099 325.3)
#CD40D5 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) | #1A74D9 | 0.253 |
| Deuteranopia (no green cones) | #6086D1 | 0.213 |
| Tritanopia (no blue cones) | #D25887 | 0.137 |
| Achromatopsia (no color) | #808080 | 0.242 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD40D5
#CD40D5
oklch(63% 0.24 325.6)
- #00A632
#00A632
oklch(63.1% 0.195 145.7)
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 #CD40D5, closest first.
No curated palette has a color within ΔE 0.04 of #CD40D5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.035
- Pinky Purple #C94CBE ΔE 0.042
- Purpley Pink #C83CB9 ΔE 0.043
- Medium Orchid #BA55D3 ΔE 0.045
- Heliotrope #D94FF5 ΔE 0.055
- Hot Purple #CB00F5 ΔE 0.070
- Pink Purple #EF1DE7 ΔE 0.070
- Bright Lilac #C95EFB ΔE 0.070
Use #CD40D5 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.