#C04BE2
Closest named color: Medium Orchid (#BA55D3). oklch(63.1% 0.232 317.7), rgb(192, 75, 226).
Aa
Black text reads best on this color (5.34:1).
About this color
#C04BE2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.232 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.031 away. Black text reads best on it, at 5.34:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.232) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.34:1 |
| White text | 3.92:1 |
Values
| HEX | #C04BE2 |
| RGB | rgb(192, 75, 226) |
| HSL | hsl(286, 72%, 59%) |
| OKLCH | oklch(63.1% 0.232 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 #C04BE2 | 3.92:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #C04BE2 | 5.34:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #C04BE2 text on white | 3.92:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #C04BE2 text on black | 5.34:1 | AA | Lc -35.9 | 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
#DFA9F1
oklch(80.9% 0.114 317.5)
-
Step 400
400
#CE77E9
oklch(70.7% 0.182 317.7)
-
Step 500
500 (this color)
#C04BE2
oklch(63.1% 0.232 317.7)
-
Step 600
600
#AC1FD0
oklch(55.7% 0.252 317.8)
-
Step 700
700
#9307B4
oklch(49.1% 0.235 317.6)
-
Step 800
800
#781292
oklch(42.8% 0.195 317.8)
-
Step 900
900
#611B74
oklch(37.8% 0.151 318)
-
Step 950
950
#391244
oklch(27% 0.096 318)
#C04BE2 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) | #0079E6 | 0.229 |
| Deuteranopia (no green cones) | #5084DE | 0.196 |
| Tritanopia (no blue cones) | #BF6791 | 0.147 |
| Achromatopsia (no color) | #808080 | 0.234 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C04BE2
#C04BE2
oklch(63.1% 0.232 317.7)
- #44A200
#44A200
oklch(63% 0.193 137.6)
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 #C04BE2, closest first.
No curated palette has a color within ΔE 0.04 of #C04BE2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.031
- Bright Lilac #C95EFB ΔE 0.051
- Heliotrope #D94FF5 ΔE 0.054
- Bright Lavender #C760FF ΔE 0.056
- Purple Pink #D725DE ΔE 0.057
- Pinky Purple #C94CBE ΔE 0.059
- Lighter Purple #A55AF4 ΔE 0.060
- Purpley Pink #C83CB9 ΔE 0.066
Use #C04BE2 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.