#C272FE#C272FE
#C272FE is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.8% C 0.207 H 308.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C272FE |
|---|---|
| RGB | rgb(194, 114, 254) |
| HSL | hsl(274, 99%, 72%) |
| HSV | hsv(274, 55%, 100%) |
| CMYK | cmyk(23.6%, 55.1%, 0%, 0.4%) |
| CIE-LAB | lab(62.22, 55.84, -57.73) |
| CIE-LCH | lch(62.22, 80.32, 314.04°) |
| OKLab | oklab(69.79% 0.1284 -0.1623) |
| OKLCH | oklch(69.79% 0.207 308.3) |
| XYZ | xyz(46.1513, 30.6604, 97.2335) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.44
Light Purple
#BF77F6
ΔE00 1.56
Light Urple
#B36FF6
ΔE00 2.79
Bright Lavender
#C760FF
ΔE00 3.50
Bright Lilac
#C95EFB
ΔE00 3.98
Liliac
#C48EFD
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C272FE #AEFE72
analogous
#7C72FE #C272FE #FE72F4
triadic
#C272FE #FEC272 #72FEC2
tetradic
#C272FE #FE7C72 #AEFE72 #72F4FE
square
#C272FE #FE7C72 #AEFE72 #72F4FE
split-complementary
#C272FE #F4FE72 #72FE7C
monochromatic
#8C02F4 #A835FE #C272FE #DCAFFE #F2E1FF
Accessibility & contrast
On white
2.94
#C272FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#C272FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C272FE
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C272FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C272FE | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#B98CAD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c272fe; /* rgb */ color: rgb(194, 114, 254); /* oklch */ color: oklch(69.8% 0.207 308.3);
Tailwind
colors: {
custom: {
50: '#d89dff',
500: '#c272fe',
950: '#000000',
},
}SCSS
$custom: #c272fe; $custom-light: #d89dff; $custom-dark: #000000;
JSON
{
"hex": "#c272fe",
"rgb": {
"r": 194,
"g": 114,
"b": 254
},
"hsl": {
"h": 274.286,
"s": 98.592,
"l": 72.157
},
"oklch": {
"l": 0.69791,
"c": 0.20693,
"h": 308.3
},
"luminance": 0.3066
}Semantic roles & 50–950 ramp
primary
#C272FE
secondary
#E3F7D4
accent
#E60062
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86