#C940B4
Closest named color: Purpley Pink (#C83CB9). oklch(60.7% 0.213 334.7), rgb(201, 64, 180).
Aa
Black text reads best on this color (4.87:1).
About this color
#C940B4 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.213 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.011 away. Black text reads best on it, at 4.87:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.213) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.87:1 |
| White text | 4.30:1 |
Values
| HEX | #C940B4 |
| RGB | rgb(201, 64, 180) |
| HSL | hsl(309, 56%, 52%) |
| OKLCH | oklch(60.7% 0.213 334.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 #C940B4 | 4.30:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #C940B4 | 4.87:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #C940B4 text on white | 4.30:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #C940B4 text on black | 4.87:1 | AA | Lc -32.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
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F7E3F2
oklch(93.6% 0.029 334.4)
-
Step 200
200
#F2CBE9
oklch(88.4% 0.059 334.2)
-
Step 300
300
#EBA7DC
oklch(80.9% 0.105 334.7)
-
Step 400
400
#DE74CA
oklch(70.7% 0.167 334.7)
-
Step 500
500 (this color)
#C940B4
oklch(60.7% 0.213 334.7)
-
Step 600
600
#BD1DA8
oklch(55.7% 0.232 334.7)
-
Step 700
700
#A20790
oklch(49.1% 0.215 334.6)
-
Step 800
800
#841175
oklch(42.8% 0.178 334.7)
-
Step 900
900
#6A1A5E
oklch(37.7% 0.138 334.7)
-
Step 950
950
#3F1137
oklch(27% 0.088 335.3)
#C940B4 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) | #3F6DB7 | 0.228 |
| Deuteranopia (no green cones) | #6E81B1 | 0.196 |
| Tritanopia (no blue cones) | #D24A75 | 0.106 |
| Achromatopsia (no color) | #7A7A7A | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C940B4
#C940B4
oklch(60.7% 0.213 334.7)
- #009B57
#009B57
oklch(60.5% 0.151 154.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 #C940B4, closest first.
No curated palette has a color within ΔE 0.04 of #C940B4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.011
- Pinky Purple #C94CBE ΔE 0.022
- Medium Orchid #BA55D3 ΔE 0.060
- Purple Pink #D725DE ΔE 0.075
- Medium Violet Red #C71585 ΔE 0.078
- Pale Magenta #D767AD ΔE 0.086
- Hot Magenta #F504C9 ΔE 0.091
- Purply #983FB2 ΔE 0.095
Use #C940B4 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.