#C27EF2#C27EF2
#C27EF2 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.175 H 309.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C27EF2 |
|---|---|
| RGB | rgb(194, 126, 242) |
| HSL | hsl(275, 82%, 72%) |
| HSV | hsv(275, 48%, 95%) |
| CMYK | cmyk(19.8%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.00, 46.97, -48.30) |
| CIE-LCH | lch(64.00, 67.37, 314.20°) |
| OKLab | oklab(70.91% 0.1118 -0.1348) |
| OKLCH | oklch(70.91% 0.175 309.7) |
| XYZ | xyz(45.7330, 32.8026, 87.9095) |
| Luminance | 0.3280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.99
Easter Purple
#C071FE
ΔE00 3.66
Liliac
#C48EFD
ΔE00 4.07
Light Urple
#B36FF6
ΔE00 4.85
Bright Lavender
#C760FF
ΔE00 6.45
Bright Lilac
#C95EFB
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C27EF2 #AEF27E
analogous
#887EF2 #C27EF2 #F27EE8
triadic
#C27EF2 #F2C27E #7EF2C2
tetradic
#C27EF2 #F2887E #AEF27E #7EE8F2
square
#C27EF2 #F2887E #AEF27E #7EE8F2
split-complementary
#C27EF2 #E8F27E #7EF288
monochromatic
#8C16DF #A846EC #C27EF2 #DCB6F8 #F2E3FC
Accessibility & contrast
On white
2.78
#C27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#C27EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C27EF2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C27EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C27EF2 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#BC91AD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c27ef2; /* rgb */ color: rgb(194, 126, 242); /* oklch */ color: oklch(70.9% 0.175 309.7);
Tailwind
colors: {
custom: {
50: '#d7a5f7',
500: '#c27ef2',
950: '#000000',
},
}SCSS
$custom: #c27ef2; $custom-light: #d7a5f7; $custom-dark: #000000;
JSON
{
"hex": "#c27ef2",
"rgb": {
"r": 194,
"g": 126,
"b": 242
},
"hsl": {
"h": 275.172,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.70906,
"c": 0.17519,
"h": 309.7
},
"luminance": 0.32802
}Semantic roles & 50–950 ramp
primary
#C27EF2
secondary
#E3F4D7
accent
#DE0760
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85