#C02FBE#C02FBE
#C02FBE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.234 H 328.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FBE |
|---|---|
| RGB | rgb(192, 47, 190) |
| HSL | hsl(301, 61%, 47%) |
| HSV | hsv(301, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 1%, 24.7%) |
| CIE-LAB | lab(48.21, 71.25, -43.89) |
| CIE-LCH | lch(48.21, 83.68, 328.36°) |
| OKLab | oklab(58.45% 0.1998 -0.1216) |
| OKLCH | oklch(58.45% 0.234 328.7) |
| XYZ | xyz(32.0487, 16.9596, 50.2908) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.34
Barney
#AC1DB8
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 5.76
Purple Pink
#D725DE
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 6.19
Medium Purple
#9E43A2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FBE #2FC031
analogous
#7A2FC0 #C02FBE #C02F75
triadic
#C02FBE #BEC02F #2FBEC0
tetradic
#C02FBE #C07A2F #2FC031 #2F75C0
square
#C02FBE #C07A2F #2FC031 #2F75C0
split-complementary
#C02FBE #75C02F #2FC07A
monochromatic
#5E175D #8F238D #C02FBE #D656D4 #E288E1
Accessibility & contrast
On white
4.78
#C02FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#C02FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FBE
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FBE | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#C64675
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c02fbe; /* rgb */ color: rgb(192, 47, 190); /* oklch */ color: oklch(58.5% 0.234 328.7);
Tailwind
colors: {
custom: {
50: '#d778d2',
500: '#c02fbe',
950: '#000000',
},
}SCSS
$custom: #c02fbe; $custom-light: #d778d2; $custom-dark: #000000;
JSON
{
"hex": "#c02fbe",
"rgb": {
"r": 192,
"g": 47,
"b": 190
},
"hsl": {
"h": 300.828,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.58451,
"c": 0.23386,
"h": 328.7
},
"luminance": 0.16957
}Semantic roles & 50–950 ramp
primary
#C02FBE
secondary
#7FCB80
accent
#E44644
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82