#B37DFC#B37DFC
#B37DFC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.184 H 301.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B37DFC |
|---|---|
| RGB | rgb(179, 125, 252) |
| HSL | hsl(266, 95%, 74%) |
| HSV | hsv(266, 50%, 99%) |
| CMYK | cmyk(29%, 50.4%, 0%, 1.2%) |
| CIE-LAB | lab(62.74, 45.88, -55.90) |
| CIE-LCH | lch(62.74, 72.32, 309.38°) |
| OKLab | oklab(69.78% 0.0961 -0.1574) |
| OKLCH | oklch(69.78% 0.184 301.4) |
| XYZ | xyz(43.4907, 31.2791, 95.8228) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.07
Light Urple
#B36FF6
ΔE00 3.49
Easter Purple
#C071FE
ΔE00 3.55
Liliac
#C48EFD
ΔE00 5.14
Bright Lavender
#C760FF
ΔE00 6.74
Bright Lilac
#C95EFB
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37DFC #C6FC7D
analogous
#7D87FC #B37DFC #F37DFC
triadic
#B37DFC #FCB37D #7DFCB3
tetradic
#B37DFC #FC7D87 #C6FC7D #7DFCF3
square
#B37DFC #FC7D87 #C6FC7D #7DFCF3
split-complementary
#B37DFC #FCF37D #87FC7D
monochromatic
#6D06F9 #9041FB #B37DFC #D6B9FD #EEE1FE
Accessibility & contrast
On white
2.89
#B37DFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B37DFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37DFC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37DFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37DFC | 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)
#5297FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#A595B1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37dfc; /* rgb */ color: rgb(179, 125, 252); /* oklch */ color: oklch(69.8% 0.184 301.4);
Tailwind
colors: {
custom: {
50: '#cda4fe',
500: '#b37dfc',
950: '#000000',
},
}SCSS
$custom: #b37dfc; $custom-light: #cda4fe; $custom-dark: #000000;
JSON
{
"hex": "#b37dfc",
"rgb": {
"r": 179,
"g": 125,
"b": 252
},
"hsl": {
"h": 265.512,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.69782,
"c": 0.18441,
"h": 301.4
},
"luminance": 0.31279
}Semantic roles & 50–950 ramp
primary
#B37DFC
secondary
#E8F7D4
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86