#CF87E2
Closest named color: Lavender Pink (#DD85D7). oklch(72.9% 0.148 319.1), rgb(207, 135, 226).
Aa
Black text reads best on this color (8.21:1).
About this color
#CF87E2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.148 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.028 away. Black text reads best on it, at 8.21:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.21:1 |
| White text | 2.55:1 |
Values
| HEX | #CF87E2 |
| RGB | rgb(207, 135, 226) |
| HSL | hsl(287, 61%, 71%) |
| OKLCH | oklch(72.9% 0.148 319.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 #CF87E2 | 2.55:1 | Fails | Lc -54.9 | Large or bold text, headings |
| Black text on #CF87E2 | 8.21:1 | AAA | Lc 54.2 | Large or bold text, headings |
| #CF87E2 text on white | 2.55:1 | Fails | Lc 49.8 | Large or bold text, headings |
| #CF87E2 text on black | 8.21:1 | AAA | Lc -52.1 | 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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E5F6
oklch(93.7% 0.027 318.2)
-
Step 200
200
#E8CFEF
oklch(88.5% 0.051 318.8)
-
Step 300
300
#DBAEE7
oklch(81% 0.092 319.1)
-
Step 400
400 (this color)
#CF87E2
oklch(72.9% 0.148 319.1)
-
Step 500
500
#B95CD0
oklch(63.2% 0.189 319.3)
-
Step 600
600
#A43DBD
oklch(55.6% 0.205 319.2)
-
Step 700
700
#8C2DA3
oklch(49% 0.191 319)
-
Step 800
800
#722784
oklch(42.6% 0.159 319.2)
-
Step 900
900
#5C266A
oklch(37.6% 0.123 318.9)
-
Step 950
950
#36173E
oklch(26.9% 0.079 319)
#CF87E2 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) | #7A9DE5 | 0.128 |
| Deuteranopia (no green cones) | #8DA5DF | 0.117 |
| Tritanopia (no blue cones) | #D092AA | 0.095 |
| Achromatopsia (no color) | #A2A2A2 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF87E2
#CF87E2
oklch(72.9% 0.148 319.1)
- #74BD5F
#74BD5F
oklch(72.9% 0.148 139)
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 #CF87E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.028
- Liliac #C48EFD ΔE 0.042
- Pale Purple #B790D4 ΔE 0.050
- Baby Purple #CA9BF7 ΔE 0.050
- Orchid #DA70D6 ΔE 0.051
- Violet #EE82EE ΔE 0.055
- Light Purple #BF77F6 ΔE 0.061
- Pastel Purple #CAA0FF ΔE 0.064
Use #CF87E2 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.