#B27FEB#B27FEB
#B27FEB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.160 H 304.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B27FEB |
|---|---|
| RGB | rgb(178, 127, 235) |
| HSL | hsl(268, 73%, 71%) |
| HSV | hsv(268, 46%, 92%) |
| CMYK | cmyk(24.3%, 46%, 0%, 7.8%) |
| CIE-LAB | lab(62.20, 40.52, -47.38) |
| CIE-LCH | lch(62.20, 62.34, 310.54°) |
| OKLab | oklab(69.08% 0.0905 -0.1325) |
| OKLCH | oklch(69.08% 0.16 304.3) |
| XYZ | xyz(40.9417, 30.6420, 82.3388) |
| Luminance | 0.3064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.27
Light Urple
#B36FF6
ΔE00 4.36
Easter Purple
#C071FE
ΔE00 4.67
Liliac
#C48EFD
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 7.09
Wisteria
#A87DC2
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27FEB #B8EB7F
analogous
#7F82EB #B27FEB #E87FEB
triadic
#B27FEB #EBB27F #7FEBB2
tetradic
#B27FEB #EB7F82 #B8EB7F #7FEBE8
square
#B27FEB #EB7F82 #B8EB7F #7FEBE8
split-complementary
#B27FEB #EBE87F #82EB7F
monochromatic
#7320CF #924AE3 #B27FEB #D2B4F3 #EFE5FB
Accessibility & contrast
On white
2.95
#B27FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B27FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27FEB
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27FEB | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#A891AA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b27feb; /* rgb */ color: rgb(178, 127, 235); /* oklch */ color: oklch(69.1% 0.160 304.3);
Tailwind
colors: {
custom: {
50: '#cba5f2',
500: '#b27feb',
950: '#000000',
},
}SCSS
$custom: #b27feb; $custom-light: #cba5f2; $custom-dark: #000000;
JSON
{
"hex": "#b27feb",
"rgb": {
"r": 178,
"g": 127,
"b": 235
},
"hsl": {
"h": 268.333,
"s": 72.973,
"l": 70.98
},
"oklch": {
"l": 0.69075,
"c": 0.16048,
"h": 304.3
},
"luminance": 0.30642
}Semantic roles & 50–950 ramp
primary
#B27FEB
secondary
#E4F1D5
accent
#D51078
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85