#CD7CEB
Closest named color: Light Purple (#BF77F6). oklch(71.4% 0.175 316.3), rgb(205, 124, 235).
Aa
Black text reads best on this color (7.67:1).
About this color
#CD7CEB is a medium-light, vivid purple. In OKLCH its lightness is 71%, 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.033 away. Black text reads best on it, at 7.67:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.67:1 |
| White text | 2.73:1 |
Values
| HEX | #CD7CEB |
| RGB | rgb(205, 124, 235) |
| HSL | hsl(284, 74%, 70%) |
| OKLCH | oklch(71.4% 0.175 316.3) |
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 #CD7CEB | 2.73:1 | Fails | Lc -57.8 | Large or bold text, headings |
| Black text on #CD7CEB | 7.67:1 | AAA | Lc 51.4 | Large or bold text, headings |
| #CD7CEB text on white | 2.73:1 | Fails | Lc 52.6 | Large or bold text, headings |
| #CD7CEB text on black | 7.67:1 | AAA | Lc -49.3 | 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
#F2E4F8
oklch(93.6% 0.031 315.9)
-
Step 200
200
#E9CDF5
oklch(88.4% 0.062 315.8)
-
Step 300
300
#DDABF0
oklch(81% 0.109 316.5)
-
Step 400
400 (this color)
#CD7CEB
oklch(71.4% 0.175 316.3)
-
Step 500
500
#BC50E1
oklch(63% 0.223 316.4)
-
Step 600
600
#A829CF
oklch(55.6% 0.243 316.4)
-
Step 700
700
#9017B3
oklch(49.1% 0.226 316.5)
-
Step 800
800
#751991
oklch(42.7% 0.187 316.5)
-
Step 900
900
#5E1E74
oklch(37.6% 0.146 316)
-
Step 950
950
#371444
oklch(27% 0.092 315.7)
#CD7CEB 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) | #6797EF | 0.152 |
| Deuteranopia (no green cones) | #7E9FE8 | 0.137 |
| Tritanopia (no blue cones) | #CC8CA9 | 0.115 |
| Achromatopsia (no color) | #9C9C9C | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD7CEB
#CD7CEB
oklch(71.4% 0.175 316.3)
- #6CBA40
#6CBA40
oklch(71.3% 0.174 136.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 #CD7CEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.033
- Orchid #DA70D6 ΔE 0.041
- Liliac #C48EFD ΔE 0.045
- Easter Purple #C071FE ΔE 0.048
- Lavender Pink #DD85D7 ΔE 0.050
- Violet #EE82EE ΔE 0.060
- Light Urple #B36FF6 ΔE 0.060
- Purply Pink #F075E6 ΔE 0.060
Use #CD7CEB 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.