#C272FC#C272FC
#C272FC is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.7% C 0.205 H 308.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C272FC |
|---|---|
| RGB | rgb(194, 114, 252) |
| HSL | hsl(275, 96%, 72%) |
| HSV | hsv(275, 55%, 99%) |
| CMYK | cmyk(23%, 54.8%, 0%, 1.2%) |
| CIE-LAB | lab(62.11, 55.40, -56.81) |
| CIE-LCH | lch(62.11, 79.35, 314.28°) |
| OKLab | oklab(69.68% 0.1283 -0.1596) |
| OKLCH | oklch(69.68% 0.205 308.8) |
| XYZ | xyz(45.8327, 30.5329, 95.5556) |
| Luminance | 0.3053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.59
Light Purple
#BF77F6
ΔE00 1.39
Light Urple
#B36FF6
ΔE00 2.78
Bright Lavender
#C760FF
ΔE00 3.49
Bright Lilac
#C95EFB
ΔE00 3.92
Liliac
#C48EFD
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272FC #ACFC72
analogous
#7D72FC #C272FC #FC72F1
triadic
#C272FC #FCC272 #72FCC2
tetradic
#C272FC #FC7D72 #ACFC72 #72F1FC
square
#C272FC #FC7D72 #ACFC72 #72F1FC
split-complementary
#C272FC #F1FC72 #72FC7D
monochromatic
#8C05EF #A836FB #C272FC #DCAEFD #F2E1FE
Accessibility & contrast
On white
2.96
#C272FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#C272FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C272FC
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272FC | 1.00 | 2.96 | 7.11 | 7.11 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#BA8BAC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c272fc; /* rgb */ color: rgb(194, 114, 252); /* oklch */ color: oklch(69.7% 0.205 308.8);
Tailwind
colors: {
custom: {
50: '#d79dfe',
500: '#c272fc',
950: '#000000',
},
}SCSS
$custom: #c272fc; $custom-light: #d79dfe; $custom-dark: #000000;
JSON
{
"hex": "#c272fc",
"rgb": {
"r": 194,
"g": 114,
"b": 252
},
"hsl": {
"h": 274.783,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.69676,
"c": 0.20476,
"h": 308.8
},
"luminance": 0.30532
}Semantic roles & 50–950 ramp
primary
#C272FC
secondary
#E2F6D3
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86