#C04CE2
Closest named color: Medium Orchid (#BA55D3). oklch(63.2% 0.231 317.7), rgb(192, 76, 226).
Aa
Black text reads best on this color (5.37:1).
About this color
#C04CE2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.231 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.030 away. Black text reads best on it, at 5.37:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.231) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.37:1 |
| White text | 3.90:1 |
Values
| HEX | #C04CE2 |
| RGB | rgb(192, 76, 226) |
| HSL | hsl(286, 72%, 59%) |
| OKLCH | oklch(63.2% 0.231 317.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 #C04CE2 | 3.90:1 | AA large text | Lc -71.1 | Content text, not long reading |
| Black text on #C04CE2 | 5.37:1 | AA | Lc 38.4 | Non-text elements, placeholder text |
| #C04CE2 text on white | 3.90:1 | AA large text | Lc 65.6 | Content text, not long reading |
| #C04CE2 text on black | 5.37:1 | AA | Lc -36.0 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F3E3F9
oklch(93.5% 0.034 316.9)
-
Step 200
200
#EBCDF5
oklch(88.6% 0.063 317.6)
-
Step 300
300
#DFA9F0
oklch(80.8% 0.113 317.9)
-
Step 400
400
#CE77E9
oklch(70.7% 0.182 317.7)
-
Step 500
500 (this color)
#C04CE2
oklch(63.2% 0.231 317.7)
-
Step 600
600
#AB20CF
oklch(55.5% 0.251 317.7)
-
Step 700
700
#930AB4
oklch(49.1% 0.234 317.6)
-
Step 800
800
#771391
oklch(42.6% 0.193 317.6)
-
Step 900
900
#601B74
oklch(37.6% 0.151 317.4)
-
Step 950
950
#391244
oklch(27% 0.096 318)
#C04CE2 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) | #0279E6 | 0.228 |
| Deuteranopia (no green cones) | #5184DE | 0.194 |
| Tritanopia (no blue cones) | #BF6891 | 0.147 |
| Achromatopsia (no color) | #818181 | 0.233 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C04CE2
#C04CE2
oklch(63.2% 0.231 317.7)
- #44A300
#44A300
oklch(63.3% 0.194 137.7)
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 #C04CE2, closest first.
No curated palette has a color within ΔE 0.04 of #C04CE2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.030
- Bright Lilac #C95EFB ΔE 0.050
- Heliotrope #D94FF5 ΔE 0.053
- Bright Lavender #C760FF ΔE 0.055
- Purple Pink #D725DE ΔE 0.058
- Pinky Purple #C94CBE ΔE 0.059
- Lighter Purple #A55AF4 ΔE 0.059
- Purpley Pink #C83CB9 ΔE 0.066
Use #C04CE2 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.