#C27CFB#C27CFB
#C27CFB is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.189 H 307.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C27CFB |
|---|---|
| RGB | rgb(194, 124, 251) |
| HSL | hsl(273, 94%, 74%) |
| HSV | hsv(273, 51%, 98%) |
| CMYK | cmyk(22.7%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(64.04, 50.01, -53.19) |
| CIE-LCH | lch(64.04, 73.01, 313.23°) |
| OKLab | oklab(71.08% 0.1154 -0.1491) |
| OKLCH | oklch(71.08% 0.189 307.7) |
| XYZ | xyz(46.8649, 32.8502, 95.1199) |
| Luminance | 0.3285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.39
Easter Purple
#C071FE
ΔE00 2.58
Light Urple
#B36FF6
ΔE00 4.13
Liliac
#C48EFD
ΔE00 4.31
Bright Lavender
#C760FF
ΔE00 5.70
Bright Lilac
#C95EFB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C27CFB #B5FB7C
analogous
#827CFB #C27CFB #FB7CF4
triadic
#C27CFB #FBC27C #7CFBC2
tetradic
#C27CFB #FB827C #B5FB7C #7CF4FB
square
#C27CFB #FB827C #B5FB7C #7CF4FB
split-complementary
#C27CFB #F4FB7C #7CFB82
monochromatic
#8A07F5 #A641F9 #C27CFB #DEB7FD #F1E1FE
Accessibility & contrast
On white
2.77
#C27CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#C27CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C27CFB
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C27CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C27CFB | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5898FF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#BA92B0
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c27cfb; /* rgb */ color: rgb(194, 124, 251); /* oklch */ color: oklch(71.1% 0.189 307.7);
Tailwind
colors: {
custom: {
50: '#d7a4fd',
500: '#c27cfb',
950: '#000000',
},
}SCSS
$custom: #c27cfb; $custom-light: #d7a4fd; $custom-dark: #000000;
JSON
{
"hex": "#c27cfb",
"rgb": {
"r": 194,
"g": 124,
"b": 251
},
"hsl": {
"h": 273.071,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.71082,
"c": 0.18853,
"h": 307.7
},
"luminance": 0.3285
}Semantic roles & 50–950 ramp
primary
#C27CFB
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86