#C272F4#C272F4
#C272F4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.2% C 0.196 H 310.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C272F4 |
|---|---|
| RGB | rgb(194, 114, 244) |
| HSL | hsl(277, 86%, 70%) |
| HSV | hsv(277, 53%, 96%) |
| CMYK | cmyk(20.5%, 53.3%, 0%, 4.3%) |
| CIE-LAB | lab(61.69, 53.66, -53.07) |
| CIE-LCH | lch(61.69, 75.47, 315.32°) |
| OKLab | oklab(69.23% 0.1278 -0.1487) |
| OKLCH | oklch(69.23% 0.196 310.7) |
| XYZ | xyz(44.5916, 30.0365, 89.0190) |
| Luminance | 0.3004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.29
Easter Purple
#C071FE
ΔE00 1.69
Light Urple
#B36FF6
ΔE00 3.06
Bright Lavender
#C760FF
ΔE00 3.73
Bright Lilac
#C95EFB
ΔE00 3.93
Heliotrope
#D94FF5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272F4 #A4F472
analogous
#8172F4 #C272F4 #F472E5
triadic
#C272F4 #F4C272 #72F4C2
tetradic
#C272F4 #F48172 #A4F472 #72E5F4
square
#C272F4 #F48172 #A4F472 #72E5F4
split-complementary
#C272F4 #E5F472 #72F481
monochromatic
#8D11DB #A939F0 #C272F4 #DBABF8 #F3E3FD
Accessibility & contrast
On white
3.00
#C272F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#C272F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C272F4
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272F4 | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D91F8
Deuteranopia (green-blind)
#6796F1
Tritanopia (blue-blind)
#BC88A8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c272f4; /* rgb */ color: rgb(194, 114, 244); /* oklch */ color: oklch(69.2% 0.196 310.7);
Tailwind
colors: {
custom: {
50: '#d79df8',
500: '#c272f4',
950: '#000000',
},
}SCSS
$custom: #c272f4; $custom-light: #d79df8; $custom-dark: #000000;
JSON
{
"hex": "#c272f4",
"rgb": {
"r": 194,
"g": 114,
"b": 244
},
"hsl": {
"h": 276.923,
"s": 85.526,
"l": 70.196
},
"oklch": {
"l": 0.69225,
"c": 0.19608,
"h": 310.7
},
"luminance": 0.30036
}Semantic roles & 50–950 ramp
primary
#C272F4
secondary
#DDF3CF
accent
#E20359
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85