#CC7DEB
Closest named color: Light Purple (#BF77F6). oklch(71.5% 0.173 315.8), rgb(204, 125, 235).
Aa
Black text reads best on this color (7.70:1).
About this color
#CC7DEB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.173 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.70:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.70:1 |
| White text | 2.72:1 |
Values
| HEX | #CC7DEB |
| RGB | rgb(204, 125, 235) |
| HSL | hsl(283, 73%, 71%) |
| OKLCH | oklch(71.5% 0.173 315.8) |
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 #CC7DEB | 2.72:1 | Fails | Lc -57.7 | Large or bold text, headings |
| Black text on #CC7DEB | 7.70:1 | AAA | Lc 51.5 | Large or bold text, headings |
| #CC7DEB text on white | 2.72:1 | Fails | Lc 52.5 | Large or bold text, headings |
| #CC7DEB text on black | 7.70:1 | AAA | Lc -49.4 | 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
#E9CEF5
oklch(88.6% 0.06 315.5)
-
Step 300
300
#DCABF0
oklch(80.9% 0.108 315.9)
-
Step 400
400 (this color)
#CC7DEB
oklch(71.5% 0.173 315.8)
-
Step 500
500
#BB52E1
oklch(63.1% 0.22 315.9)
-
Step 600
600
#A62BCF
oklch(55.5% 0.241 315.7)
-
Step 700
700
#8F1AB3
oklch(49.1% 0.224 316)
-
Step 800
800
#741B91
oklch(42.7% 0.185 315.9)
-
Step 900
900
#5E1F74
oklch(37.7% 0.145 315.9)
-
Step 950
950
#371444
oklch(27% 0.092 315.7)
#CC7DEB 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) | #6898EF | 0.149 |
| Deuteranopia (no green cones) | #7E9FE8 | 0.134 |
| Tritanopia (no blue cones) | #CA8DA9 | 0.115 |
| Achromatopsia (no color) | #9D9D9D | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CC7DEB
#CC7DEB
oklch(71.5% 0.173 315.8)
- #6EBA41
#6EBA41
oklch(71.4% 0.173 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 #CC7DEB, 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.042
- Liliac #C48EFD ΔE 0.043
- Easter Purple #C071FE ΔE 0.048
- Lavender Pink #DD85D7 ΔE 0.050
- Light Urple #B36FF6 ΔE 0.060
- Violet #EE82EE ΔE 0.061
- Purply Pink #F075E6 ΔE 0.062
Use #CC7DEB 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.