#C540BC
Closest named color: Purpley Pink (#C83CB9). oklch(60.5% 0.216 330.7), rgb(197, 64, 188).
Aa
Black text reads best on this color (4.83:1).
About this color
#C540BC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.216 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.008 away. Black text reads best on it, at 4.83:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.216) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.83:1 |
| White text | 4.34:1 |
Values
| HEX | #C540BC |
| RGB | rgb(197, 64, 188) |
| HSL | hsl(304, 53%, 51%) |
| OKLCH | oklch(60.5% 0.216 330.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 #C540BC | 4.34:1 | AA large text | Lc -74.6 | Content text, not long reading |
| Black text on #C540BC | 4.83:1 | AA | Lc 35.0 | Non-text elements, placeholder text |
| #C540BC text on white | 4.34:1 | AA large text | Lc 69.1 | Content text, not long reading |
| #C540BC text on black | 4.83:1 | AA | Lc -32.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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F7E3F4
oklch(93.7% 0.031 330.7)
-
Step 200
200
#F1CCEB
oklch(88.6% 0.058 331.5)
-
Step 300
300
#E8A8E0
oklch(80.9% 0.104 330.9)
-
Step 400
400
#DA75D1
oklch(70.7% 0.169 330.6)
-
Step 500
500 (this color)
#C540BC
oklch(60.5% 0.216 330.7)
-
Step 600
600
#B91EB1
oklch(55.6% 0.235 330.7)
-
Step 700
700
#9F0898
oklch(49.1% 0.219 330.7)
-
Step 800
800
#81117B
oklch(42.6% 0.181 330.8)
-
Step 900
900
#681A63
oklch(37.6% 0.141 330.7)
-
Step 950
950
#3D113A
oklch(26.9% 0.09 330.5)
#C540BC 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) | #356DC0 | 0.230 |
| Deuteranopia (no green cones) | #6780B9 | 0.196 |
| Tritanopia (no blue cones) | #CD4F79 | 0.116 |
| Achromatopsia (no color) | #797979 | 0.218 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C540BC
#C540BC
oklch(60.5% 0.216 330.7)
- #009C4A
#009C4A
oklch(60.6% 0.164 150.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 #C540BC, closest first.
No curated palette has a color within ΔE 0.04 of #C540BC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.008
- Pinky Purple #C94CBE ΔE 0.022
- Medium Orchid #BA55D3 ΔE 0.049
- Purple Pink #D725DE ΔE 0.066
- Purply #983FB2 ΔE 0.088
- Medium Violet Red #C71585 ΔE 0.089
- Amethyst #9B5FC0 ΔE 0.089
- Heliotrope #D94FF5 ΔE 0.093
Use #C540BC 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.