#C27CF8#C27CF8
#C27CF8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.185 H 308.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C27CF8 |
|---|---|
| RGB | rgb(194, 124, 248) |
| HSL | hsl(274, 90%, 73%) |
| HSV | hsv(274, 50%, 97%) |
| CMYK | cmyk(21.8%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(63.89, 49.35, -51.78) |
| CIE-LCH | lch(63.89, 71.53, 313.62°) |
| OKLab | oklab(70.92% 0.1152 -0.145) |
| OKLCH | oklch(70.92% 0.185 308.5) |
| XYZ | xyz(46.3958, 32.6626, 92.6491) |
| Luminance | 0.3266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.29
Easter Purple
#C071FE
ΔE00 2.74
Light Urple
#B36FF6
ΔE00 4.19
Liliac
#C48EFD
ΔE00 4.32
Bright Lavender
#C760FF
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C27CF8 #B2F87C
analogous
#847CF8 #C27CF8 #F87CF0
triadic
#C27CF8 #F8C27C #7CF8C2
tetradic
#C27CF8 #F8847C #B2F87C #7CF0F8
square
#C27CF8 #F8847C #B2F87C #7CF0F8
split-complementary
#C27CF8 #F0F87C #7CF884
monochromatic
#8B0DED #A742F5 #C27CF8 #DDB6FB #F1E2FD
Accessibility & contrast
On white
2.79
#C27CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#C27CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C27CF8
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C27CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C27CF8 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#BB91AF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c27cf8; /* rgb */ color: rgb(194, 124, 248); /* oklch */ color: oklch(70.9% 0.185 308.5);
Tailwind
colors: {
custom: {
50: '#d7a4fb',
500: '#c27cf8',
950: '#000000',
},
}SCSS
$custom: #c27cf8; $custom-light: #d7a4fb; $custom-dark: #000000;
JSON
{
"hex": "#c27cf8",
"rgb": {
"r": 194,
"g": 124,
"b": 248
},
"hsl": {
"h": 273.871,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.70919,
"c": 0.18514,
"h": 308.5
},
"luminance": 0.32662
}Semantic roles & 50–950 ramp
primary
#C27CF8
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85