#CF31E4
Closest named color: Purple Pink (#D725DE). oklch(63% 0.267 322.6), rgb(207, 49, 228).
Aa
Black text reads best on this color (5.21:1).
About this color
#CF31E4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.267 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.020 away. Black text reads best on it, at 5.21:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.267) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.21:1 |
| White text | 4.02:1 |
Values
| HEX | #CF31E4 |
| RGB | rgb(207, 49, 228) |
| HSL | hsl(293, 77%, 54%) |
| OKLCH | oklch(63% 0.267 322.6) |
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 #CF31E4 | 4.02:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #CF31E4 | 5.21:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #CF31E4 text on white | 4.02:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #CF31E4 text on black | 5.21:1 | AA | Lc -35.6 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F7E2F9
oklch(93.6% 0.038 323.2)
-
Step 200
200
#F1CAF6
oklch(88.6% 0.073 322.5)
-
Step 300
300
#E9A3F2
oklch(80.9% 0.132 322.7)
-
Step 400
400
#DB6BEB
oklch(70.7% 0.209 322.5)
-
Step 500
500 (this color)
#CF31E4
oklch(63% 0.267 322.6)
-
Step 600
600
#B500CA
oklch(55.6% 0.263 322.5)
-
Step 700
700
#9900AB
oklch(49.1% 0.233 322.5)
-
Step 800
800
#7E008D
oklch(42.7% 0.202 322.5)
-
Step 900
900
#690575
oklch(37.6% 0.174 322.7)
-
Step 950
950
#3E0A45
oklch(27% 0.111 322.6)
#CF31E4 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) | #0073E9 | 0.267 |
| Deuteranopia (no green cones) | #4F84E0 | 0.237 |
| Tritanopia (no blue cones) | #D2568B | 0.158 |
| Achromatopsia (no color) | #7F7F7F | 0.269 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF31E4
#CF31E4
oklch(63% 0.267 322.6)
- #00A704
#00A704
oklch(63.1% 0.214 142.6)
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 #CF31E4, closest first.
No curated palette has a color within ΔE 0.04 of #CF31E4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.020
- Hot Purple #CB00F5 ΔE 0.041
- Heliotrope #D94FF5 ΔE 0.051
- Pink Purple #EF1DE7 ΔE 0.060
- Bright Purple #BE03FD ΔE 0.063
- Neon Purple #BC13FE ΔE 0.064
- Medium Orchid #BA55D3 ΔE 0.066
- Purpley Pink #C83CB9 ΔE 0.068
Use #CF31E4 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.