#B27BF6#B27BF6
#B27BF6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.180 H 302.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B27BF6 |
|---|---|
| RGB | rgb(178, 123, 246) |
| HSL | hsl(267, 87%, 72%) |
| HSV | hsv(267, 50%, 96%) |
| CMYK | cmyk(27.6%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(61.90, 45.29, -53.94) |
| CIE-LCH | lch(61.90, 70.43, 310.02°) |
| OKLab | oklab(69.03% 0.097 -0.1517) |
| OKLCH | oklch(69.03% 0.18 302.6) |
| XYZ | xyz(42.0739, 30.2847, 90.7999) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.65
Light Urple
#B36FF6
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 3.32
Liliac
#C48EFD
ΔE00 5.51
Bright Lavender
#C760FF
ΔE00 6.39
Bright Lilac
#C95EFB
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27BF6 #BFF67B
analogous
#7B82F6 #B27BF6 #EF7BF6
triadic
#B27BF6 #F6B27B #7BF6B2
tetradic
#B27BF6 #F67B82 #BFF67B #7BF6EF
square
#B27BF6 #F67B82 #BFF67B #7BF6EF
split-complementary
#B27BF6 #F6EF7B #82F67B
monochromatic
#7010E7 #9142F2 #B27BF6 #D3B4FA #EEE2FD
Accessibility & contrast
On white
2.98
#B27BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B27BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27BF6
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27BF6 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#A692AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b27bf6; /* rgb */ color: rgb(178, 123, 246); /* oklch */ color: oklch(69.0% 0.180 302.6);
Tailwind
colors: {
custom: {
50: '#cca2fa',
500: '#b27bf6',
950: '#000000',
},
}SCSS
$custom: #b27bf6; $custom-light: #cca2fa; $custom-dark: #000000;
JSON
{
"hex": "#b27bf6",
"rgb": {
"r": 178,
"g": 123,
"b": 246
},
"hsl": {
"h": 266.829,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.6903,
"c": 0.18004,
"h": 302.6
},
"luminance": 0.30285
}Semantic roles & 50–950 ramp
primary
#B27BF6
secondary
#E7F5D6
accent
#E4027F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85