#C042F2
Closest named color: Neon Purple (#BC13FE). oklch(63.2% 0.257 314.3), rgb(192, 66, 242).
Aa
Black text reads best on this color (5.30:1).
About this color
#C042F2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.257 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.048 away. Black text reads best on it, at 5.30:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.257) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.30:1 |
| White text | 3.96:1 |
Values
| HEX | #C042F2 |
| RGB | rgb(192, 66, 242) |
| HSL | hsl(283, 87%, 60%) |
| OKLCH | oklch(63.2% 0.257 314.3) |
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 #C042F2 | 3.96:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #C042F2 | 5.30:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #C042F2 text on white | 3.96:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #C042F2 text on black | 5.30:1 | AA | Lc -35.8 | 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
#FAF2FE
oklch(97.1% 0.018 314.7)
-
Step 100
100
#F3E3FB
oklch(93.6% 0.036 314.6)
-
Step 200
200
#EACCFA
oklch(88.5% 0.07 313.9)
-
Step 300
300
#DEA8F9
oklch(80.9% 0.125 314.1)
-
Step 400
400
#CD73F6
oklch(70.7% 0.201 314.1)
-
Step 500
500 (this color)
#C042F2
oklch(63.2% 0.257 314.3)
-
Step 600
600
#AB00DF
oklch(55.7% 0.275 314.3)
-
Step 700
700
#9000BC
oklch(49% 0.242 314.4)
-
Step 800
800
#77009C
oklch(42.7% 0.211 314.4)
-
Step 900
900
#60137D
oklch(37.6% 0.168 314.1)
-
Step 950
950
#390F49
oklch(27% 0.106 314.9)
#C042F2 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) | #0079F7 | 0.231 |
| Deuteranopia (no green cones) | #3783EE | 0.218 |
| Tritanopia (no blue cones) | #BB6997 | 0.168 |
| Achromatopsia (no color) | #808080 | 0.259 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C042F2
#C042F2
oklch(63.2% 0.257 314.3)
- #56A000
#56A000
oklch(63.2% 0.183 134.3)
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 #C042F2, closest first.
No curated palette has a color within ΔE 0.04 of #C042F2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Purple #BC13FE ΔE 0.048
- Hot Purple #CB00F5 ΔE 0.049
- Bright Lilac #C95EFB ΔE 0.051
- Bright Purple #BE03FD ΔE 0.052
- Heliotrope #D94FF5 ΔE 0.054
- Bright Lavender #C760FF ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.058
- Lighter Purple #A55AF4 ΔE 0.059
Use #C042F2 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.