#C272EF#C272EF
#C272EF is a light, vivid violet. Relative luminance 0.297; OKLCH L 69.0% C 0.191 H 312.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C272EF |
|---|---|
| RGB | rgb(194, 114, 239) |
| HSL | hsl(278, 80%, 69%) |
| HSV | hsv(278, 52%, 94%) |
| CMYK | cmyk(18.8%, 52.3%, 0%, 6.3%) |
| CIE-LAB | lab(61.43, 52.59, -50.71) |
| CIE-LCH | lch(61.43, 73.06, 316.04°) |
| OKLab | oklab(68.95% 0.1275 -0.1418) |
| OKLCH | oklch(68.95% 0.191 312) |
| XYZ | xyz(43.8427, 29.7369, 85.0748) |
| Luminance | 0.2974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.75
Easter Purple
#C071FE
ΔE00 2.46
Light Urple
#B36FF6
ΔE00 3.47
Bright Lavender
#C760FF
ΔE00 4.07
Bright Lilac
#C95EFB
ΔE00 4.13
Heliotrope
#D94FF5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272EF #9FEF72
analogous
#8472EF #C272EF #EF72DE
triadic
#C272EF #EFC272 #72EFC2
tetradic
#C272EF #EF8472 #9FEF72 #72DEEF
square
#C272EF #EF8472 #9FEF72 #72DEEF
split-complementary
#C272EF #DEEF72 #72EF84
monochromatic
#8D18CF #AA3BE9 #C272EF #DAA9F5 #F2E0FB
Accessibility & contrast
On white
3.02
#C272EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#C272EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C272EF
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272EF | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BD87A6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c272ef; /* rgb */ color: rgb(194, 114, 239); /* oklch */ color: oklch(69.0% 0.191 312.0);
Tailwind
colors: {
custom: {
50: '#d79df5',
500: '#c272ef',
950: '#000000',
},
}SCSS
$custom: #c272ef; $custom-light: #d79df5; $custom-dark: #000000;
JSON
{
"hex": "#c272ef",
"rgb": {
"r": 194,
"g": 114,
"b": 239
},
"hsl": {
"h": 278.4,
"s": 79.618,
"l": 69.216
},
"oklch": {
"l": 0.6895,
"c": 0.19069,
"h": 312
},
"luminance": 0.29736
}Semantic roles & 50–950 ramp
primary
#C272EF
secondary
#D9F1CC
accent
#DC0A55
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85