#B37AFE#B37AFE
#B37AFE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.191 H 301.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B37AFE |
|---|---|
| RGB | rgb(179, 122, 254) |
| HSL | hsl(266, 99%, 74%) |
| HSV | hsv(266, 52%, 100%) |
| CMYK | cmyk(29.5%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(62.22, 47.98, -57.83) |
| CIE-LCH | lch(62.22, 75.14, 309.68°) |
| OKLab | oklab(69.43% 0.1001 -0.163) |
| OKLCH | oklch(69.43% 0.191 301.5) |
| XYZ | xyz(43.4352, 30.6584, 97.3761) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.89
Light Purple
#BF77F6
ΔE00 2.97
Easter Purple
#C071FE
ΔE00 3.07
Liliac
#C48EFD
ΔE00 5.79
Bright Lavender
#C760FF
ΔE00 6.13
Bright Lilac
#C95EFB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37AFE #C5FE7A
analogous
#7A83FE #B37AFE #F57AFE
triadic
#B37AFE #FEB37A #7AFEB3
tetradic
#B37AFE #FE7A83 #C5FE7A #7AFEF5
square
#B37AFE #FE7A83 #C5FE7A #7AFEF5
split-complementary
#B37AFE #FEF57A #83FE7A
monochromatic
#6E02FC #903DFE #B37AFE #D6B7FE #EEE1FF
Accessibility & contrast
On white
2.94
#B37AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B37AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37AFE
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37AFE | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 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)
#4B96FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#A593B1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b37afe; /* rgb */ color: rgb(179, 122, 254); /* oklch */ color: oklch(69.4% 0.191 301.5);
Tailwind
colors: {
custom: {
50: '#cda2ff',
500: '#b37afe',
950: '#000000',
},
}SCSS
$custom: #b37afe; $custom-light: #cda2ff; $custom-dark: #000000;
JSON
{
"hex": "#b37afe",
"rgb": {
"r": 179,
"g": 122,
"b": 254
},
"hsl": {
"h": 265.909,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.69428,
"c": 0.19129,
"h": 301.5
},
"luminance": 0.30659
}Semantic roles & 50–950 ramp
primary
#B37AFE
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86