#C240EF
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.257 315.7), rgb(194, 64, 239).
Aa
Black text reads best on this color (5.27:1).
About this color
#C240EF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.257 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.046 away. Black text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.257) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.27:1 |
| White text | 3.98:1 |
Values
| HEX | #C240EF |
| RGB | rgb(194, 64, 239) |
| HSL | hsl(285, 85%, 59%) |
| OKLCH | oklch(63.1% 0.257 315.7) |
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 #C240EF | 3.98:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #C240EF | 5.27:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #C240EF text on white | 3.98:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #C240EF text on black | 5.27:1 | AA | Lc -35.7 | 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
#E0A7F8
oklch(80.9% 0.126 315.6)
-
Step 400
400
#CF72F4
oklch(70.7% 0.201 315.5)
-
Step 500
500 (this color)
#C240EF
oklch(63.1% 0.257 315.7)
-
Step 600
600
#AD00DB
oklch(55.7% 0.273 315.8)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#78009A
oklch(42.7% 0.21 315.5)
-
Step 900
900
#62127C
oklch(37.8% 0.168 315.7)
-
Step 950
950
#390F48
oklch(27% 0.105 315.6)
#C240EF 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) | #0078F4 | 0.236 |
| Deuteranopia (no green cones) | #3C83EB | 0.220 |
| Tritanopia (no blue cones) | #BF6695 | 0.165 |
| Achromatopsia (no color) | #7F7F7F | 0.259 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C240EF
#C240EF
oklch(63.1% 0.257 315.7)
- #4FA100
#4FA100
oklch(63.2% 0.187 135.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 #C240EF, closest first.
No curated palette has a color within ΔE 0.04 of #C240EF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.046
- Neon Purple #BC13FE ΔE 0.050
- Heliotrope #D94FF5 ΔE 0.052
- Bright Purple #BE03FD ΔE 0.052
- Purple Pink #D725DE ΔE 0.053
- Bright Lilac #C95EFB ΔE 0.053
- Medium Orchid #BA55D3 ΔE 0.056
- Bright Lavender #C760FF ΔE 0.057
Use #C240EF 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.