#B372F8#B372F8
#B372F8 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.196 H 304.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B372F8 |
|---|---|
| RGB | rgb(179, 114, 248) |
| HSL | hsl(269, 91%, 71%) |
| HSV | hsv(269, 54%, 97%) |
| CMYK | cmyk(27.8%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(60.24, 50.82, -57.68) |
| CIE-LCH | lch(60.24, 76.87, 311.39°) |
| OKLab | oklab(67.86% 0.1098 -0.1625) |
| OKLCH | oklch(67.86% 0.196 304) |
| XYZ | xyz(41.5473, 28.3958, 92.0809) |
| Luminance | 0.2840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.77
Easter Purple
#C071FE
ΔE00 2.25
Light Purple
#BF77F6
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 4.55
Bright Lilac
#C95EFB
ΔE00 5.07
Lighter Purple
#A55AF4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B372F8 #B7F872
analogous
#7274F8 #B372F8 #F672F8
triadic
#B372F8 #F8B372 #72F8B3
tetradic
#B372F8 #F87274 #B7F872 #72F8F6
square
#B372F8 #F87274 #B7F872 #72F8F6
split-complementary
#B372F8 #F8F672 #74F872
monochromatic
#750BE4 #9438F5 #B372F8 #D2ACFB #EFE2FE
Accessibility & contrast
On white
3.14
#B372F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B372F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B372F8
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B372F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B372F8 | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4190FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#A78BAA
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b372f8; /* rgb */ color: rgb(179, 114, 248); /* oklch */ color: oklch(67.9% 0.196 304.0);
Tailwind
colors: {
custom: {
50: '#cd9dfb',
500: '#b372f8',
950: '#000000',
},
}SCSS
$custom: #b372f8; $custom-light: #cd9dfb; $custom-dark: #000000;
JSON
{
"hex": "#b372f8",
"rgb": {
"r": 179,
"g": 114,
"b": 248
},
"hsl": {
"h": 269.104,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.67864,
"c": 0.19617,
"h": 304
},
"luminance": 0.28396
}Semantic roles & 50–950 ramp
primary
#B372F8
secondary
#E3F5D1
accent
#E60076
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85