#C02FBC#C02FBC
#C02FBC is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.232 H 329.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FBC |
|---|---|
| RGB | rgb(192, 47, 188) |
| HSL | hsl(302, 61%, 47%) |
| HSV | hsv(302, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 2.1%, 24.7%) |
| CIE-LAB | lab(48.10, 70.93, -42.90) |
| CIE-LCH | lch(48.10, 82.90, 328.83°) |
| OKLab | oklab(58.34% 0.1998 -0.1187) |
| OKLCH | oklch(58.34% 0.232 329.3) |
| XYZ | xyz(31.8316, 16.8728, 49.1474) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.22
Barney
#AC1DB8
ΔE00 5.38
Pinky Purple
#C94CBE
ΔE00 5.74
Ugly Purple
#A442A0
ΔE00 5.99
Purple Pink
#D725DE
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FBC #2FC033
analogous
#7C2FC0 #C02FBC #C02F74
triadic
#C02FBC #BCC02F #2FBCC0
tetradic
#C02FBC #C07C2F #2FC033 #2F74C0
square
#C02FBC #C07C2F #2FC033 #2F74C0
split-complementary
#C02FBC #74C02F #2FC07C
monochromatic
#5E175C #8F238C #C02FBC #D656D2 #E288DF
Accessibility & contrast
On white
4.80
#C02FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#C02FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FBC
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FBC | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#C74574
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c02fbc; /* rgb */ color: rgb(192, 47, 188); /* oklch */ color: oklch(58.3% 0.232 329.3);
Tailwind
colors: {
custom: {
50: '#d778d1',
500: '#c02fbc',
950: '#000000',
},
}SCSS
$custom: #c02fbc; $custom-light: #d778d1; $custom-dark: #000000;
JSON
{
"hex": "#c02fbc",
"rgb": {
"r": 192,
"g": 47,
"b": 188
},
"hsl": {
"h": 301.655,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.58337,
"c": 0.23239,
"h": 329.3
},
"luminance": 0.1687
}Semantic roles & 50–950 ramp
primary
#C02FBC
secondary
#7FCB81
accent
#E44844
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82