#C542E4
Closest named color: Purple Pink (#D725DE). oklch(63% 0.246 319.2), rgb(197, 66, 228).
Aa
Black text reads best on this color (5.27:1).
About this color
#C542E4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.246 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.043 away. Black text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.246) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.27:1 |
| White text | 3.98:1 |
Values
| HEX | #C542E4 |
| RGB | rgb(197, 66, 228) |
| HSL | hsl(289, 75%, 58%) |
| OKLCH | oklch(63% 0.246 319.2) |
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 #C542E4 | 3.98:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #C542E4 | 5.27:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #C542E4 text on white | 3.98:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #C542E4 text on black | 5.27: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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F9
oklch(93.6% 0.034 318.5)
-
Step 200
200
#EDCCF6
oklch(88.6% 0.067 318.9)
-
Step 300
300
#E2A7F2
oklch(80.8% 0.121 318.9)
-
Step 400
400
#D373EB
oklch(70.8% 0.192 319.3)
-
Step 500
500 (this color)
#C542E4
oklch(63% 0.246 319.2)
-
Step 600
600
#B100D2
oklch(55.6% 0.268 319.3)
-
Step 700
700
#9600B2
oklch(49.2% 0.237 319.4)
-
Step 800
800
#7B0093
oklch(42.6% 0.206 319.1)
-
Step 900
900
#641576
oklch(37.8% 0.161 319.2)
-
Step 950
950
#3B0F45
oklch(27% 0.103 319.6)
#C542E4 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) | #0077E9 | 0.242 |
| Deuteranopia (no green cones) | #4D84E0 | 0.213 |
| Tritanopia (no blue cones) | #C5628F | 0.154 |
| Achromatopsia (no color) | #7F7F7F | 0.249 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C542E4
#C542E4
oklch(63% 0.246 319.2)
- #39A300
#39A300
oklch(62.9% 0.199 139.1)
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 #C542E4, closest first.
No curated palette has a color within ΔE 0.04 of #C542E4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.043
- Medium Orchid #BA55D3 ΔE 0.044
- Heliotrope #D94FF5 ΔE 0.050
- Hot Purple #CB00F5 ΔE 0.055
- Bright Lilac #C95EFB ΔE 0.056
- Bright Lavender #C760FF ΔE 0.061
- Pinky Purple #C94CBE ΔE 0.063
- Neon Purple #BC13FE ΔE 0.065
Use #C542E4 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.