#B37BF2#B37BF2
#B37BF2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.175 H 303.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B37BF2 |
|---|---|
| RGB | rgb(179, 123, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 49%, 95%) |
| CMYK | cmyk(26%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(61.79, 44.61, -51.90) |
| CIE-LCH | lch(61.79, 68.43, 310.68°) |
| OKLab | oklab(68.91% 0.0978 -0.1457) |
| OKLCH | oklch(68.91% 0.175 303.9) |
| XYZ | xyz(41.6969, 30.1605, 87.6121) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.36
Light Urple
#B36FF6
ΔE00 2.97
Easter Purple
#C071FE
ΔE00 3.35
Liliac
#C48EFD
ΔE00 5.40
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37BF2 #BAF27B
analogous
#7B7FF2 #B37BF2 #EE7BF2
triadic
#B37BF2 #F2B37B #7BF2B3
tetradic
#B37BF2 #F27B7F #BAF27B #7BF2EE
square
#B37BF2 #F27B7F #BAF27B #7BF2EE
split-complementary
#B37BF2 #F2EE7B #7FF27B
monochromatic
#7316DD #9343ED #B37BF2 #D3B3F7 #EFE3FC
Accessibility & contrast
On white
2.99
#B37BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B37BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37BF2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37BF2 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A890AB
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b37bf2; /* rgb */ color: rgb(179, 123, 242); /* oklch */ color: oklch(68.9% 0.175 303.9);
Tailwind
colors: {
custom: {
50: '#cca2f7',
500: '#b37bf2',
950: '#000000',
},
}SCSS
$custom: #b37bf2; $custom-light: #cca2f7; $custom-dark: #000000;
JSON
{
"hex": "#b37bf2",
"rgb": {
"r": 179,
"g": 123,
"b": 242
},
"hsl": {
"h": 268.235,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.68906,
"c": 0.17549,
"h": 303.9
},
"luminance": 0.3016
}Semantic roles & 50–950 ramp
primary
#B37BF2
secondary
#E5F4D5
accent
#DE0779
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85