#B27EF6#B27EF6
#B27EF6 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.175 H 302.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B27EF6 |
|---|---|
| RGB | rgb(178, 126, 246) |
| HSL | hsl(266, 87%, 73%) |
| HSV | hsv(266, 49%, 96%) |
| CMYK | cmyk(27.6%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(62.54, 43.66, -52.92) |
| CIE-LCH | lch(62.54, 68.60, 309.52°) |
| OKLab | oklab(69.51% 0.0931 -0.1487) |
| OKLCH | oklch(69.51% 0.175 302.1) |
| XYZ | xyz(42.4518, 31.0405, 90.9258) |
| Luminance | 0.3104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.01
Light Urple
#B36FF6
ΔE00 3.65
Easter Purple
#C071FE
ΔE00 3.88
Liliac
#C48EFD
ΔE00 4.92
Bright Lavender
#C760FF
ΔE00 7.05
Mediumpurple
#9370DB
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27EF6 #C2F67E
analogous
#7E86F6 #B27EF6 #EE7EF6
triadic
#B27EF6 #F6B27E #7EF6B2
tetradic
#B27EF6 #F67E86 #C2F67E #7EF6EE
square
#B27EF6 #F67E86 #C2F67E #7EF6EE
split-complementary
#B27EF6 #F6EE7E #86F67E
monochromatic
#6E10E9 #9045F2 #B27EF6 #D4B7FA #EEE2FD
Accessibility & contrast
On white
2.91
#B27EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#B27EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27EF6
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27EF6 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#A594AF
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b27ef6; /* rgb */ color: rgb(178, 126, 246); /* oklch */ color: oklch(69.5% 0.175 302.1);
Tailwind
colors: {
custom: {
50: '#cca4fa',
500: '#b27ef6',
950: '#000000',
},
}SCSS
$custom: #b27ef6; $custom-light: #cca4fa; $custom-dark: #000000;
JSON
{
"hex": "#b27ef6",
"rgb": {
"r": 178,
"g": 126,
"b": 246
},
"hsl": {
"h": 266,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.69508,
"c": 0.17544,
"h": 302.1
},
"luminance": 0.31041
}Semantic roles & 50–950 ramp
primary
#B27EF6
secondary
#E8F5D6
accent
#E40282
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85