#C272F5#C272F5
#C272F5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.3% C 0.197 H 310.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C272F5 |
|---|---|
| RGB | rgb(194, 114, 245) |
| HSL | hsl(277, 87%, 70%) |
| HSV | hsv(277, 53%, 96%) |
| CMYK | cmyk(20.8%, 53.5%, 0%, 3.9%) |
| CIE-LAB | lab(61.74, 53.88, -53.54) |
| CIE-LCH | lch(61.74, 75.96, 315.18°) |
| OKLab | oklab(69.28% 0.1279 -0.15) |
| OKLCH | oklch(69.28% 0.197 310.4) |
| XYZ | xyz(44.7438, 30.0974, 89.8208) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.24
Easter Purple
#C071FE
ΔE00 1.54
Light Urple
#B36FF6
ΔE00 2.99
Bright Lavender
#C760FF
ΔE00 3.67
Bright Lilac
#C95EFB
ΔE00 3.90
Heliotrope
#D94FF5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272F5 #A5F572
analogous
#8072F5 #C272F5 #F572E7
triadic
#C272F5 #F5C272 #72F5C2
tetradic
#C272F5 #F58072 #A5F572 #72E7F5
square
#C272F5 #F58072 #A5F572 #72E7F5
split-complementary
#C272F5 #E7F572 #72F580
monochromatic
#8D10DD #A939F1 #C272F5 #DBABF9 #F3E2FD
Accessibility & contrast
On white
2.99
#C272F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#C272F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C272F5
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272F5 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#BC89A9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c272f5; /* rgb */ color: rgb(194, 114, 245); /* oklch */ color: oklch(69.3% 0.197 310.4);
Tailwind
colors: {
custom: {
50: '#d79df9',
500: '#c272f5',
950: '#000000',
},
}SCSS
$custom: #c272f5; $custom-light: #d79df9; $custom-dark: #000000;
JSON
{
"hex": "#c272f5",
"rgb": {
"r": 194,
"g": 114,
"b": 245
},
"hsl": {
"h": 276.641,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.69281,
"c": 0.19717,
"h": 310.4
},
"luminance": 0.30097
}Semantic roles & 50–950 ramp
primary
#C272F5
secondary
#DDF3CF
accent
#E3025A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85