#B37FF6#B37FF6
#B37FF6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.174 H 302.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B37FF6 |
|---|---|
| RGB | rgb(179, 127, 246) |
| HSL | hsl(266, 87%, 73%) |
| HSV | hsv(266, 48%, 96%) |
| CMYK | cmyk(27.2%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(62.86, 43.37, -52.41) |
| CIE-LCH | lch(62.86, 68.03, 309.61°) |
| OKLab | oklab(69.77% 0.093 -0.1472) |
| OKLCH | oklch(69.77% 0.174 302.3) |
| XYZ | xyz(42.8106, 31.4162, 90.9795) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.01
Light Urple
#B36FF6
ΔE00 3.89
Easter Purple
#C071FE
ΔE00 3.98
Liliac
#C48EFD
ΔE00 4.61
Bright Lavender
#C760FF
ΔE00 7.19
Mediumpurple
#9370DB
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37FF6 #C2F67F
analogous
#7F87F6 #B37FF6 #EE7FF6
triadic
#B37FF6 #F6B37F #7FF6B3
tetradic
#B37FF6 #F67F87 #C2F67F #7FF6EE
square
#B37FF6 #F67F87 #C2F67F #7FF6EE
split-complementary
#B37FF6 #F6EE7F #87F67F
monochromatic
#7010EA #9146F2 #B37FF6 #D5B8FA #EEE2FD
Accessibility & contrast
On white
2.88
#B37FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B37FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37FF6
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37FF6 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#A794AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37ff6; /* rgb */ color: rgb(179, 127, 246); /* oklch */ color: oklch(69.8% 0.174 302.3);
Tailwind
colors: {
custom: {
50: '#cca5fa',
500: '#b37ff6',
950: '#000000',
},
}SCSS
$custom: #b37ff6; $custom-light: #cca5fa; $custom-dark: #000000;
JSON
{
"hex": "#b37ff6",
"rgb": {
"r": 179,
"g": 127,
"b": 246
},
"hsl": {
"h": 266.218,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.69766,
"c": 0.17411,
"h": 302.3
},
"luminance": 0.31416
}Semantic roles & 50–950 ramp
primary
#B37FF6
secondary
#E7F5D6
accent
#E30281
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85