#CA31EF
Closest named color: Hot Purple (#CB00F5). oklch(63% 0.273 318.6), rgb(202, 49, 239).
Aa
Black text reads best on this color (5.19:1).
About this color
#CA31EF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.273 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.029 away. Black text reads best on it, at 5.19:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.273) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.19:1 |
| White text | 4.04:1 |
Values
| HEX | #CA31EF |
| RGB | rgb(202, 49, 239) |
| HSL | hsl(288, 86%, 56%) |
| OKLCH | oklch(63% 0.273 318.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 #CA31EF | 4.04:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #CA31EF | 5.19:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #CA31EF text on white | 4.04:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #CA31EF text on black | 5.19:1 | AA | Lc -35.5 | 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
#FBF2FD
oklch(97.1% 0.017 320.1)
-
Step 100
100
#F5E2FB
oklch(93.5% 0.039 318.1)
-
Step 200
200
#EFCAF9
oklch(88.5% 0.075 319)
-
Step 300
300
#E5A4F8
oklch(80.9% 0.134 318.4)
-
Step 400
400
#D76CF4
oklch(70.8% 0.214 318.6)
-
Step 500
500 (this color)
#CA31EF
oklch(63% 0.273 318.6)
-
Step 600
600
#B000D4
oklch(55.6% 0.269 318.5)
-
Step 700
700
#9500B3
oklch(49.1% 0.237 318.7)
-
Step 800
800
#7B0094
oklch(42.7% 0.206 318.8)
-
Step 900
900
#66057C
oklch(37.7% 0.178 318.3)
-
Step 950
950
#3C0A48
oklch(26.9% 0.113 318.8)
#CA31EF 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) | #0075F4 | 0.256 |
| Deuteranopia (no green cones) | #3D83EB | 0.240 |
| Tritanopia (no blue cones) | #C95D92 | 0.169 |
| Achromatopsia (no color) | #7E7E7E | 0.276 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA31EF
#CA31EF
oklch(63% 0.273 318.6)
- #3EA300
#3EA300
oklch(63.1% 0.197 138.5)
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 #CA31EF, closest first.
No curated palette has a color within ΔE 0.04 of #CA31EF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.029
- Purple Pink #D725DE ΔE 0.037
- Bright Purple #BE03FD ΔE 0.046
- Neon Purple #BC13FE ΔE 0.046
- Heliotrope #D94FF5 ΔE 0.052
- Bright Lilac #C95EFB ΔE 0.066
- Bright Lavender #C760FF ΔE 0.070
- Medium Orchid #BA55D3 ΔE 0.071
Use #CA31EF 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.