#B37DF2#B37DF2
#B37DF2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.172 H 303.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B37DF2 |
|---|---|
| RGB | rgb(179, 125, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(26%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(62.22, 43.52, -51.22) |
| CIE-LCH | lch(62.22, 67.21, 310.35°) |
| OKLab | oklab(69.23% 0.0952 -0.1437) |
| OKLCH | oklch(69.23% 0.172 303.5) |
| XYZ | xyz(41.9475, 30.6618, 87.6956) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.61
Light Urple
#B36FF6
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 3.72
Liliac
#C48EFD
ΔE00 4.99
Bright Lavender
#C760FF
ΔE00 6.80
Mediumpurple
#9370DB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37DF2 #BCF27D
analogous
#7D82F2 #B37DF2 #ED7DF2
triadic
#B37DF2 #F2B37D #7DF2B3
tetradic
#B37DF2 #F27D82 #BCF27D #7DF2ED
square
#B37DF2 #F27D82 #BCF27D #7DF2ED
split-complementary
#B37DF2 #F2ED7D #82F27D
monochromatic
#7316DE #9245EC #B37DF2 #D4B5F8 #EFE3FC
Accessibility & contrast
On white
2.94
#B37DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B37DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37DF2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37DF2 | 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)
#5A95F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#A892AC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b37df2; /* rgb */ color: rgb(179, 125, 242); /* oklch */ color: oklch(69.2% 0.172 303.5);
Tailwind
colors: {
custom: {
50: '#cca4f7',
500: '#b37df2',
950: '#000000',
},
}SCSS
$custom: #b37df2; $custom-light: #cca4f7; $custom-dark: #000000;
JSON
{
"hex": "#b37df2",
"rgb": {
"r": 179,
"g": 125,
"b": 242
},
"hsl": {
"h": 267.692,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.69225,
"c": 0.17237,
"h": 303.5
},
"luminance": 0.30662
}Semantic roles & 50–950 ramp
primary
#B37DF2
secondary
#E7F4D7
accent
#DE077B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85