#CD7DEC
Closest named color: Light Purple (#BF77F6). oklch(71.6% 0.175 315.9), rgb(205, 125, 236).
Aa
Black text reads best on this color (7.74:1).
About this color
#CD7DEC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.175 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.034 away. Black text reads best on it, at 7.74:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.74:1 |
| White text | 2.71:1 |
Values
| HEX | #CD7DEC |
| RGB | rgb(205, 125, 236) |
| HSL | hsl(283, 74%, 71%) |
| OKLCH | oklch(71.6% 0.175 315.9) |
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 #CD7DEC | 2.71:1 | Fails | Lc -57.5 | Large or bold text, headings |
| Black text on #CD7DEC | 7.74:1 | AAA | Lc 51.7 | Large or bold text, headings |
| #CD7DEC text on white | 2.71:1 | Fails | Lc 52.3 | Large or bold text, headings |
| #CD7DEC text on black | 7.74:1 | AAA | Lc -49.6 | 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
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F2E4F9
oklch(93.6% 0.032 314.7)
-
Step 200
200
#E9CEF5
oklch(88.6% 0.06 315.5)
-
Step 300
300
#DCABF0
oklch(80.9% 0.108 315.9)
-
Step 400
400 (this color)
#CD7DEC
oklch(71.6% 0.175 315.9)
-
Step 500
500
#BC51E2
oklch(63.2% 0.223 316)
-
Step 600
600
#A72AD0
oklch(55.6% 0.243 315.8)
-
Step 700
700
#8F18B4
oklch(49.1% 0.226 315.8)
-
Step 800
800
#741A91
oklch(42.7% 0.186 315.9)
-
Step 900
900
#5E1F74
oklch(37.7% 0.145 315.9)
-
Step 950
950
#371444
oklch(27% 0.092 315.7)
#CD7DEC 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) | #6798F0 | 0.151 |
| Deuteranopia (no green cones) | #7E9FE9 | 0.135 |
| Tritanopia (no blue cones) | #CC8DAA | 0.115 |
| Achromatopsia (no color) | #9D9D9D | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD7DEC
#CD7DEC
oklch(71.6% 0.175 315.9)
- #6EBB40
#6EBB40
oklch(71.7% 0.175 135.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 #CD7DEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.034
- Liliac #C48EFD ΔE 0.042
- Orchid #DA70D6 ΔE 0.043
- Easter Purple #C071FE ΔE 0.048
- Lavender Pink #DD85D7 ΔE 0.050
- Violet #EE82EE ΔE 0.059
- Purply Pink #F075E6 ΔE 0.061
- Light Urple #B36FF6 ΔE 0.061
Use #CD7DEC 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.