#C270FC#C270FC
#C270FC is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.4% C 0.208 H 309.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C270FC |
|---|---|
| RGB | rgb(194, 112, 252) |
| HSL | hsl(275, 96%, 71%) |
| HSV | hsv(275, 56%, 99%) |
| CMYK | cmyk(23%, 55.6%, 0%, 1.2%) |
| CIE-LAB | lab(61.73, 56.41, -57.42) |
| CIE-LCH | lch(61.73, 80.49, 314.49°) |
| OKLab | oklab(69.4% 0.1308 -0.1614) |
| OKLCH | oklch(69.4% 0.208 309) |
| XYZ | xyz(45.6096, 30.0867, 95.4812) |
| Luminance | 0.3009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.56
Light Purple
#BF77F6
ΔE00 1.74
Light Urple
#B36FF6
ΔE00 2.65
Bright Lavender
#C760FF
ΔE00 3.08
Bright Lilac
#C95EFB
ΔE00 3.51
Heliotrope
#D94FF5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C270FC #AAFC70
analogous
#7C70FC #C270FC #FC70F0
triadic
#C270FC #FCC270 #70FCC2
tetradic
#C270FC #FC7C70 #AAFC70 #70F0FC
square
#C270FC #FC7C70 #AAFC70 #70F0FC
split-complementary
#C270FC #F0FC70 #70FC7C
monochromatic
#8D05ED #A834FB #C270FC #DCACFD #F2E1FE
Accessibility & contrast
On white
2.99
#C270FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#C270FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C270FC
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C270FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C270FC | 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)
#4192FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#BA8AAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c270fc; /* rgb */ color: rgb(194, 112, 252); /* oklch */ color: oklch(69.4% 0.208 309.0);
Tailwind
colors: {
custom: {
50: '#d89cfe',
500: '#c270fc',
950: '#000000',
},
}SCSS
$custom: #c270fc; $custom-light: #d89cfe; $custom-dark: #000000;
JSON
{
"hex": "#c270fc",
"rgb": {
"r": 194,
"g": 112,
"b": 252
},
"hsl": {
"h": 275.143,
"s": 95.89,
"l": 71.373
},
"oklch": {
"l": 0.69395,
"c": 0.20771,
"h": 309
},
"luminance": 0.30086
}Semantic roles & 50–950 ramp
primary
#C270FC
secondary
#E1F6D2
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86