#B27FF6#B27FF6
#B27FF6 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.174 H 301.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B27FF6 |
|---|---|
| RGB | rgb(178, 127, 246) |
| HSL | hsl(266, 87%, 73%) |
| HSV | hsv(266, 48%, 96%) |
| CMYK | cmyk(27.6%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(62.76, 43.11, -52.58) |
| CIE-LCH | lch(62.76, 67.99, 309.35°) |
| OKLab | oklab(69.67% 0.0918 -0.1477) |
| OKLCH | oklch(69.67% 0.174 301.9) |
| XYZ | xyz(42.5803, 31.2975, 90.9687) |
| Luminance | 0.3130 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 3.91
Easter Purple
#C071FE
ΔE00 4.09
Liliac
#C48EFD
ΔE00 4.73
Bright Lavender
#C760FF
ΔE00 7.28
Mediumpurple
#9370DB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27FF6 #C3F67F
analogous
#7F87F6 #B27FF6 #ED7FF6
triadic
#B27FF6 #F6B27F #7FF6B2
tetradic
#B27FF6 #F67F87 #C3F67F #7FF6ED
square
#B27FF6 #F67F87 #C3F67F #7FF6ED
split-complementary
#B27FF6 #F6ED7F #87F67F
monochromatic
#6E10EA #9046F2 #B27FF6 #D4B8FA #EEE2FD
Accessibility & contrast
On white
2.89
#B27FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B27FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27FF6
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27FF6 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#A595AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b27ff6; /* rgb */ color: rgb(178, 127, 246); /* oklch */ color: oklch(69.7% 0.174 301.9);
Tailwind
colors: {
custom: {
50: '#cca5fa',
500: '#b27ff6',
950: '#000000',
},
}SCSS
$custom: #b27ff6; $custom-light: #cca5fa; $custom-dark: #000000;
JSON
{
"hex": "#b27ff6",
"rgb": {
"r": 178,
"g": 127,
"b": 246
},
"hsl": {
"h": 265.714,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.69669,
"c": 0.1739,
"h": 301.9
},
"luminance": 0.31298
}Semantic roles & 50–950 ramp
primary
#B27FF6
secondary
#E8F5D6
accent
#E30283
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85