#C040CD
Closest named color: Purpley Pink (#C83CB9). oklch(60.7% 0.227 323.9), rgb(192, 64, 205).
Aa
Black text reads best on this color (4.85:1).
About this color
#C040CD is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.227 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.035 away. Black text reads best on it, at 4.85:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.227) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.85:1 |
| White text | 4.32:1 |
Values
| HEX | #C040CD |
| RGB | rgb(192, 64, 205) |
| HSL | hsl(294, 59%, 53%) |
| OKLCH | oklch(60.7% 0.227 323.9) |
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 #C040CD | 4.32:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #C040CD | 4.85:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #C040CD text on white | 4.32:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #C040CD text on black | 4.85:1 | AA | Lc -32.8 | 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
#F5E3F6
oklch(93.6% 0.032 324.2)
-
Step 200
200
#EECCF1
oklch(88.5% 0.062 323.5)
-
Step 300
300
#E4A8E9
oklch(80.9% 0.11 323.9)
-
Step 400
400
#D575DE
oklch(70.7% 0.178 324)
-
Step 500
500 (this color)
#C040CD
oklch(60.7% 0.227 323.9)
-
Step 600
600
#B31BC2
oklch(55.6% 0.247 323.8)
-
Step 700
700
#9A02A7
oklch(49.1% 0.23 324.1)
-
Step 800
800
#7D0F88
oklch(42.7% 0.19 323.8)
-
Step 900
900
#65196D
oklch(37.7% 0.149 323.8)
-
Step 950
950
#3B1140
oklch(26.9% 0.094 323.3)
#C040CD 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) | #1870D1 | 0.236 |
| Deuteranopia (no green cones) | #587FCA | 0.200 |
| Tritanopia (no blue cones) | #C35882 | 0.134 |
| Achromatopsia (no color) | #797979 | 0.230 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C040CD
#C040CD
oklch(60.7% 0.227 323.9)
- #009E1E
#009E1E
oklch(60.7% 0.197 143.9)
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 #C040CD, closest first.
No curated palette has a color within ΔE 0.04 of #C040CD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.035
- Medium Orchid #BA55D3 ΔE 0.036
- Pinky Purple #C94CBE ΔE 0.040
- Purple Pink #D725DE ΔE 0.054
- Vibrant Purple #AD03DE ΔE 0.077
- Heliotrope #D94FF5 ΔE 0.077
- Hot Purple #CB00F5 ΔE 0.078
- Dark Orchid #9932CC ΔE 0.082
Use #C040CD 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.