#B27CFA#B27CFA
#B27CFA is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.183 H 301.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B27CFA |
|---|---|
| RGB | rgb(178, 124, 250) |
| HSL | hsl(266, 93%, 73%) |
| HSV | hsv(266, 50%, 98%) |
| CMYK | cmyk(28.8%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(62.32, 45.70, -55.47) |
| CIE-LCH | lch(62.32, 71.87, 309.48°) |
| OKLab | oklab(69.41% 0.096 -0.1561) |
| OKLCH | oklch(69.41% 0.183 301.6) |
| XYZ | xyz(42.8191, 30.7823, 94.1097) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.98
Light Urple
#B36FF6
ΔE00 3.20
Easter Purple
#C071FE
ΔE00 3.47
Liliac
#C48EFD
ΔE00 5.38
Bright Lavender
#C760FF
ΔE00 6.60
Bright Lilac
#C95EFB
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27CFA #C4FA7C
analogous
#7C85FA #B27CFA #F17CFA
triadic
#B27CFA #FAB27C #7CFAB2
tetradic
#B27CFA #FA7C85 #C4FA7C #7CFAF1
square
#B27CFA #FA7C85 #C4FA7C #7CFAF1
split-complementary
#B27CFA #FAF17C #85FA7C
monochromatic
#6D09F2 #8F41F8 #B27CFA #D5B7FC #EEE2FE
Accessibility & contrast
On white
2.93
#B27CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B27CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27CFA
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27CFA | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A493B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b27cfa; /* rgb */ color: rgb(178, 124, 250); /* oklch */ color: oklch(69.4% 0.183 301.6);
Tailwind
colors: {
custom: {
50: '#cca3fc',
500: '#b27cfa',
950: '#000000',
},
}SCSS
$custom: #b27cfa; $custom-light: #cca3fc; $custom-dark: #000000;
JSON
{
"hex": "#b27cfa",
"rgb": {
"r": 178,
"g": 124,
"b": 250
},
"hsl": {
"h": 265.714,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.69413,
"c": 0.18332,
"h": 301.6
},
"luminance": 0.30782
}Semantic roles & 50–950 ramp
primary
#B27CFA
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86