#C27BF2#C27BF2
#C27BF2 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.180 H 310.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C27BF2 |
|---|---|
| RGB | rgb(194, 123, 242) |
| HSL | hsl(276, 82%, 72%) |
| HSV | hsv(276, 49%, 95%) |
| CMYK | cmyk(19.8%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(63.38, 48.56, -49.28) |
| CIE-LCH | lch(63.38, 69.18, 314.58°) |
| OKLab | oklab(70.45% 0.1159 -0.1377) |
| OKLCH | oklch(70.45% 0.18 310.1) |
| XYZ | xyz(45.3551, 32.0468, 87.7836) |
| Luminance | 0.3205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.42
Easter Purple
#C071FE
ΔE00 3.08
Light Urple
#B36FF6
ΔE00 4.33
Liliac
#C48EFD
ΔE00 4.73
Bright Lavender
#C760FF
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C27BF2 #ABF27B
analogous
#877BF2 #C27BF2 #F27BE7
triadic
#C27BF2 #F2C27B #7BF2C2
tetradic
#C27BF2 #F2877B #ABF27B #7BE7F2
square
#C27BF2 #F2877B #ABF27B #7BE7F2
split-complementary
#C27BF2 #E7F27B #7BF287
monochromatic
#8D16DD #A843ED #C27BF2 #DCB3F7 #F2E3FC
Accessibility & contrast
On white
2.83
#C27BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#C27BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C27BF2
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C27BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C27BF2 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#BC8FAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c27bf2; /* rgb */ color: rgb(194, 123, 242); /* oklch */ color: oklch(70.4% 0.180 310.1);
Tailwind
colors: {
custom: {
50: '#d7a3f7',
500: '#c27bf2',
950: '#000000',
},
}SCSS
$custom: #c27bf2; $custom-light: #d7a3f7; $custom-dark: #000000;
JSON
{
"hex": "#c27bf2",
"rgb": {
"r": 194,
"g": 123,
"b": 242
},
"hsl": {
"h": 275.798,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.70446,
"c": 0.17994,
"h": 310.1
},
"luminance": 0.32046
}Semantic roles & 50–950 ramp
primary
#C27BF2
secondary
#E1F4D5
accent
#DE075E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85