#C540CC
Closest named color: Purpley Pink (#C83CB9). oklch(61.4% 0.229 325.8), rgb(197, 64, 204).
Aa
Black text reads best on this color (4.97:1).
About this color
#C540CC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.229 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.030 away. Black text reads best on it, at 4.97:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.229) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.97:1 |
| White text | 4.21:1 |
Values
| HEX | #C540CC |
| RGB | rgb(197, 64, 204) |
| HSL | hsl(297, 58%, 53%) |
| OKLCH | oklch(61.4% 0.229 325.8) |
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 #C540CC | 4.21:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #C540CC | 4.97:1 | AA | Lc 36.0 | Non-text elements, placeholder text |
| #C540CC text on white | 4.21:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #C540CC text on black | 4.97:1 | AA | Lc -33.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
#FBF2FB
oklch(97.1% 0.015 325.7)
-
Step 100
100
#F6E3F6
oklch(93.7% 0.032 325.8)
-
Step 200
200
#EFCCF0
oklch(88.6% 0.062 325.2)
-
Step 300
300
#E6A7E8
oklch(80.9% 0.112 325.5)
-
Step 400
400
#D874DC
oklch(70.8% 0.179 325.8)
-
Step 500
500 (this color)
#C540CC
oklch(61.4% 0.229 325.8)
-
Step 600
600
#B615BF
oklch(55.6% 0.249 325.6)
-
Step 700
700
#9C00A4
oklch(49.1% 0.229 325.7)
-
Step 800
800
#7F0B85
oklch(42.7% 0.191 325.8)
-
Step 900
900
#67186B
oklch(37.8% 0.149 325.9)
-
Step 950
950
#3C113F
oklch(27% 0.094 325.1)
#C540CC 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) | #2171D0 | 0.240 |
| Deuteranopia (no green cones) | #5E81C8 | 0.203 |
| Tritanopia (no blue cones) | #CA5682 | 0.131 |
| Achromatopsia (no color) | #7B7B7B | 0.231 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C540CC
#C540CC
oklch(61.4% 0.229 325.8)
- #00A031
#00A031
oklch(61.4% 0.189 145.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 #C540CC, closest first.
No curated palette has a color within ΔE 0.04 of #C540CC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.030
- Pinky Purple #C94CBE ΔE 0.034
- Medium Orchid #BA55D3 ΔE 0.038
- Purple Pink #D725DE ΔE 0.049
- Heliotrope #D94FF5 ΔE 0.073
- Hot Purple #CB00F5 ΔE 0.079
- Bright Lilac #C95EFB ΔE 0.082
- Vibrant Purple #AD03DE ΔE 0.085
Use #C540CC 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.