#B37DFE#B37DFE
#B37DFE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.187 H 301.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B37DFE |
|---|---|
| RGB | rgb(179, 125, 254) |
| HSL | hsl(265, 98%, 74%) |
| HSV | hsv(265, 51%, 100%) |
| CMYK | cmyk(29.5%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(62.85, 46.36, -56.83) |
| CIE-LCH | lch(62.85, 73.34, 309.21°) |
| OKLab | oklab(69.9% 0.0963 -0.1601) |
| OKLCH | oklch(69.9% 0.187 301) |
| XYZ | xyz(43.8093, 31.4065, 97.5008) |
| Luminance | 0.3141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.23
Light Urple
#B36FF6
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 3.60
Liliac
#C48EFD
ΔE00 5.21
Bright Lavender
#C760FF
ΔE00 6.77
Bright Lilac
#C95EFB
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37DFE #C8FE7D
analogous
#7D88FE #B37DFE #F37DFE
triadic
#B37DFE #FEB37D #7DFEB3
tetradic
#B37DFE #FE7D88 #C8FE7D #7DFEF3
square
#B37DFE #FE7D88 #C8FE7D #7DFEF3
split-complementary
#B37DFE #FEF37D #88FE7D
monochromatic
#6C04FD #8F40FE #B37DFE #D7BAFE #EDE1FF
Accessibility & contrast
On white
2.88
#B37DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B37DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37DFE
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37DFE | 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)
#5197FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#A495B2
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37dfe; /* rgb */ color: rgb(179, 125, 254); /* oklch */ color: oklch(69.9% 0.187 301.0);
Tailwind
colors: {
custom: {
50: '#cda4ff',
500: '#b37dfe',
950: '#000000',
},
}SCSS
$custom: #b37dfe; $custom-light: #cda4ff; $custom-dark: #000000;
JSON
{
"hex": "#b37dfe",
"rgb": {
"r": 179,
"g": 125,
"b": 254
},
"hsl": {
"h": 265.116,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.69896,
"c": 0.18681,
"h": 301
},
"luminance": 0.31407
}Semantic roles & 50–950 ramp
primary
#B37DFE
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86