#B27EF2#B27EF2
#B27EF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.171 H 302.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B27EF2 |
|---|---|
| RGB | rgb(178, 126, 242) |
| HSL | hsl(267, 82%, 72%) |
| HSV | hsv(267, 48%, 95%) |
| CMYK | cmyk(26.4%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(62.34, 42.71, -51.04) |
| CIE-LCH | lch(62.34, 66.55, 309.92°) |
| OKLab | oklab(69.29% 0.0927 -0.1432) |
| OKLCH | oklch(69.29% 0.171 302.9) |
| XYZ | xyz(41.8444, 30.7975, 87.7272) |
| Luminance | 0.3080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.93
Light Urple
#B36FF6
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 4.01
Liliac
#C48EFD
ΔE00 4.90
Mediumpurple
#9370DB
ΔE00 7.08
Bright Lavender
#C760FF
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27EF2 #BEF27E
analogous
#7E84F2 #B27EF2 #EC7EF2
triadic
#B27EF2 #F2B27E #7EF2B2
tetradic
#B27EF2 #F27E84 #BEF27E #7EF2EC
square
#B27EF2 #F27E84 #BEF27E #7EF2EC
split-complementary
#B27EF2 #F2EC7E #84F27E
monochromatic
#7016DF #9146EC #B27EF2 #D3B6F8 #EEE3FC
Accessibility & contrast
On white
2.93
#B27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B27EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27EF2
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27EF2 | 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)
#5B96F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#A793AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b27ef2; /* rgb */ color: rgb(178, 126, 242); /* oklch */ color: oklch(69.3% 0.171 302.9);
Tailwind
colors: {
custom: {
50: '#cca4f7',
500: '#b27ef2',
950: '#000000',
},
}SCSS
$custom: #b27ef2; $custom-light: #cca4f7; $custom-dark: #000000;
JSON
{
"hex": "#b27ef2",
"rgb": {
"r": 178,
"g": 126,
"b": 242
},
"hsl": {
"h": 266.897,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.69288,
"c": 0.17058,
"h": 302.9
},
"luminance": 0.30797
}Semantic roles & 50–950 ramp
primary
#B27EF2
secondary
#E7F4D7
accent
#DE077E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85