#C272F6#C272F6
#C272F6 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.198 H 310.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C272F6 |
|---|---|
| RGB | rgb(194, 114, 246) |
| HSL | hsl(276, 88%, 71%) |
| HSV | hsv(276, 54%, 96%) |
| CMYK | cmyk(21.1%, 53.7%, 0%, 3.5%) |
| CIE-LAB | lab(61.79, 54.09, -54.01) |
| CIE-LCH | lch(61.79, 76.44, 315.05°) |
| OKLab | oklab(69.34% 0.128 -0.1514) |
| OKLCH | oklch(69.34% 0.198 310.2) |
| XYZ | xyz(44.8969, 30.1586, 90.6270) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.21
Easter Purple
#C071FE
ΔE00 1.39
Light Urple
#B36FF6
ΔE00 2.94
Bright Lavender
#C760FF
ΔE00 3.63
Bright Lilac
#C95EFB
ΔE00 3.89
Heliotrope
#D94FF5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272F6 #A6F672
analogous
#8072F6 #C272F6 #F672E8
triadic
#C272F6 #F6C272 #72F6C2
tetradic
#C272F6 #F68072 #A6F672 #72E8F6
square
#C272F6 #F68072 #A6F672 #72E8F6
split-complementary
#C272F6 #E8F672 #72F680
monochromatic
#8D0EDF #A938F2 #C272F6 #DBACFA #F3E2FD
Accessibility & contrast
On white
2.99
#C272F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#C272F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C272F6
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272F6 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B92FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#BB89A9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c272f6; /* rgb */ color: rgb(194, 114, 246); /* oklch */ color: oklch(69.3% 0.198 310.2);
Tailwind
colors: {
custom: {
50: '#d79dfa',
500: '#c272f6',
950: '#000000',
},
}SCSS
$custom: #c272f6; $custom-light: #d79dfa; $custom-dark: #000000;
JSON
{
"hex": "#c272f6",
"rgb": {
"r": 194,
"g": 114,
"b": 246
},
"hsl": {
"h": 276.364,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.69337,
"c": 0.19825,
"h": 310.2
},
"luminance": 0.30158
}Semantic roles & 50–950 ramp
primary
#C272F6
secondary
#DEF4D0
accent
#E5015B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85