#C240EE
Closest named color: Hot Purple (#CB00F5). oklch(63% 0.256 315.9), rgb(194, 64, 238).
Aa
Black text reads best on this color (5.26:1).
About this color
#C240EE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.256 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.047 away. Black text reads best on it, at 5.26:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.256) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.26:1 |
| White text | 3.99:1 |
Values
| HEX | #C240EE |
| RGB | rgb(194, 64, 238) |
| HSL | hsl(285, 84%, 59%) |
| OKLCH | oklch(63% 0.256 315.9) |
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 #C240EE | 3.99:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #C240EE | 5.26:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #C240EE text on white | 3.99:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #C240EE text on black | 5.26: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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FB
oklch(93.6% 0.037 316.2)
-
Step 200
200
#EBCCF9
oklch(88.5% 0.069 315.3)
-
Step 300
300
#E0A7F7
oklch(80.9% 0.125 316)
-
Step 400
400
#D072F3
oklch(70.7% 0.2 316.1)
-
Step 500
500 (this color)
#C240EE
oklch(63% 0.256 315.9)
-
Step 600
600
#AD00DA
oklch(55.6% 0.272 316.1)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#780099
oklch(42.6% 0.209 315.8)
-
Step 900
900
#62137B
oklch(37.8% 0.166 316)
-
Step 950
950
#390F48
oklch(27% 0.105 315.6)
#C240EE 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) | #0078F3 | 0.236 |
| Deuteranopia (no green cones) | #3D83EA | 0.219 |
| Tritanopia (no blue cones) | #BF6694 | 0.165 |
| Achromatopsia (no color) | #7F7F7F | 0.258 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C240EE
#C240EE
oklch(63% 0.256 315.9)
- #4EA100
#4EA100
oklch(63.1% 0.188 136)
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 #C240EE, closest first.
No curated palette has a color within ΔE 0.04 of #C240EE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.047
- Neon Purple #BC13FE ΔE 0.050
- Purple Pink #D725DE ΔE 0.052
- Heliotrope #D94FF5 ΔE 0.052
- Bright Purple #BE03FD ΔE 0.053
- Bright Lilac #C95EFB ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.055
- Bright Lavender #C760FF ΔE 0.058
Use #C240EE 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.