#C02FBD#C02FBD
#C02FBD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.233 H 329.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FBD |
|---|---|
| RGB | rgb(192, 47, 189) |
| HSL | hsl(301, 61%, 47%) |
| HSV | hsv(301, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 1.6%, 24.7%) |
| CIE-LAB | lab(48.15, 71.09, -43.40) |
| CIE-LCH | lch(48.15, 83.29, 328.60°) |
| OKLab | oklab(58.39% 0.1998 -0.1201) |
| OKLCH | oklch(58.39% 0.233 329) |
| XYZ | xyz(31.9398, 16.9161, 49.7171) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.28
Barney
#AC1DB8
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 5.75
Purple Pink
#D725DE
ΔE00 5.88
Ugly Purple
#A442A0
ΔE00 6.08
Medium Purple
#9E43A2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FBD #2FC032
analogous
#7A2FC0 #C02FBD #C02F75
triadic
#C02FBD #BDC02F #2FBDC0
tetradic
#C02FBD #C07A2F #2FC032 #2F75C0
square
#C02FBD #C07A2F #2FC032 #2F75C0
split-complementary
#C02FBD #75C02F #2FC07A
monochromatic
#5E175C #8F238D #C02FBD #D656D3 #E288E0
Accessibility & contrast
On white
4.79
#C02FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#C02FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FBD
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FBD | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1266C1
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#C74575
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c02fbd; /* rgb */ color: rgb(192, 47, 189); /* oklch */ color: oklch(58.4% 0.233 329.0);
Tailwind
colors: {
custom: {
50: '#d778d1',
500: '#c02fbd',
950: '#000000',
},
}SCSS
$custom: #c02fbd; $custom-light: #d778d1; $custom-dark: #000000;
JSON
{
"hex": "#c02fbd",
"rgb": {
"r": 192,
"g": 47,
"b": 189
},
"hsl": {
"h": 301.241,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.58394,
"c": 0.23313,
"h": 329
},
"luminance": 0.16914
}Semantic roles & 50–950 ramp
primary
#C02FBD
secondary
#7FCB81
accent
#E44744
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82