#CD7ECB
Closest named color: Lavender Pink (#DD85D7). oklch(70.3% 0.139 327.8), rgb(205, 126, 203).
Aa
Black text reads best on this color (7.44:1).
About this color
#CD7ECB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.139 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.036 away. Black text reads best on it, at 7.44:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.44:1 |
| White text | 2.82:1 |
Values
| HEX | #CD7ECB |
| RGB | rgb(205, 126, 203) |
| HSL | hsl(302, 44%, 65%) |
| OKLCH | oklch(70.3% 0.139 327.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 #CD7ECB | 2.82:1 | Fails | Lc -59.2 | Large or bold text, headings |
| Black text on #CD7ECB | 7.44:1 | AAA | Lc 50.1 | Large or bold text, headings |
| #CD7ECB text on white | 2.82:1 | Fails | Lc 54.0 | Large or bold text, headings |
| #CD7ECB text on black | 7.44:1 | AAA | Lc -47.9 | 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
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F4E4F3
oklch(93.6% 0.026 327.7)
-
Step 200
200
#EBCEEA
oklch(88.4% 0.049 327)
-
Step 300
300
#E0ADDD
oklch(80.9% 0.087 328.3)
-
Step 400
400 (this color)
#CD7ECB
oklch(70.3% 0.139 327.8)
-
Step 500
500
#C05BBF
oklch(63% 0.178 327.8)
-
Step 600
600
#AB3DAB
oklch(55.6% 0.193 327.8)
-
Step 700
700
#932E93
oklch(49.2% 0.179 327.9)
-
Step 800
800
#772877
oklch(42.7% 0.148 327.8)
-
Step 900
900
#612660
oklch(37.8% 0.116 328.2)
-
Step 950
950
#391738
oklch(27% 0.074 328.5)
#CD7ECB 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) | #7993CE | 0.131 |
| Deuteranopia (no green cones) | #8D9EC8 | 0.121 |
| Tritanopia (no blue cones) | #D2859B | 0.079 |
| Achromatopsia (no color) | #9A9A9A | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD7ECB
#CD7ECB
oklch(70.3% 0.139 327.8)
- #5BB66B
#5BB66B
oklch(70.1% 0.139 147.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 #CD7ECB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.036
- Orchid #DA70D6 ΔE 0.042
- Pale Purple #B790D4 ΔE 0.052
- Pale Magenta #D767AD ΔE 0.059
- Wisteria #A87DC2 ΔE 0.064
- Purply Pink #F075E6 ΔE 0.074
- Light Purple #BF77F6 ΔE 0.075
- Liliac #C48EFD ΔE 0.075
Use #CD7ECB 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.