#CD7DEF
Closest named color: Light Purple (#BF77F6). oklch(71.8% 0.178 315.1), rgb(205, 125, 239).
Aa
Black text reads best on this color (7.77:1).
About this color
#CD7DEF is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.178 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.032 away. Black text reads best on it, at 7.77:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.77:1 |
| White text | 2.70:1 |
Values
| HEX | #CD7DEF |
| RGB | rgb(205, 125, 239) |
| HSL | hsl(282, 78%, 71%) |
| OKLCH | oklch(71.8% 0.178 315.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 #CD7DEF | 2.70:1 | Fails | Lc -57.3 | Large or bold text, headings |
| Black text on #CD7DEF | 7.77:1 | AAA | Lc 51.9 | Large or bold text, headings |
| #CD7DEF text on white | 2.70:1 | Fails | Lc 52.1 | Large or bold text, headings |
| #CD7DEF text on black | 7.77:1 | AAA | Lc -49.8 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4F9
oklch(93.6% 0.032 314.7)
-
Step 200
200
#E9CDF6
oklch(88.4% 0.063 315.1)
-
Step 300
300
#DCABF2
oklch(81% 0.111 315.1)
-
Step 400
400 (this color)
#CD7DEF
oklch(71.8% 0.178 315.1)
-
Step 500
500
#BB50E5
oklch(63.2% 0.227 315)
-
Step 600
600
#A727D3
oklch(55.7% 0.247 315.1)
-
Step 700
700
#8F15B7
oklch(49.2% 0.23 315)
-
Step 800
800
#741894
oklch(42.7% 0.19 315)
-
Step 900
900
#5E1E76
oklch(37.8% 0.148 315.1)
-
Step 950
950
#371445
oklch(27.1% 0.093 314.9)
#CD7DEF 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) | #6699F3 | 0.152 |
| Deuteranopia (no green cones) | #7DA0EC | 0.137 |
| Tritanopia (no blue cones) | #CB8EAB | 0.119 |
| Achromatopsia (no color) | #9D9D9D | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD7DEF
#CD7DEF
oklch(71.8% 0.178 315.1)
- #6FBB3B
#6FBB3B
oklch(71.7% 0.178 135.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 #CD7DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.032
- Liliac #C48EFD ΔE 0.041
- Easter Purple #C071FE ΔE 0.045
- Orchid #DA70D6 ΔE 0.046
- Lavender Pink #DD85D7 ΔE 0.053
- Violet #EE82EE ΔE 0.059
- Light Urple #B36FF6 ΔE 0.059
- Purply Pink #F075E6 ΔE 0.061
Use #CD7DEF 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.