#B372EF#B372EF
#B372EF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.186 H 306.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B372EF |
|---|---|
| RGB | rgb(179, 114, 239) |
| HSL | hsl(271, 80%, 69%) |
| HSV | hsv(271, 52%, 94%) |
| CMYK | cmyk(25.1%, 52.3%, 0%, 6.3%) |
| CIE-LAB | lab(59.75, 48.75, -53.48) |
| CIE-LCH | lch(59.75, 72.36, 312.35°) |
| OKLab | oklab(67.34% 0.1093 -0.1503) |
| OKLCH | oklch(67.34% 0.186 306) |
| XYZ | xyz(40.1845, 27.8507, 84.9034) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.28
Light Purple
#BF77F6
ΔE00 2.52
Easter Purple
#C071FE
ΔE00 2.71
Bright Lavender
#C760FF
ΔE00 4.72
Bright Lilac
#C95EFB
ΔE00 5.05
Mediumpurple
#9370DB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B372EF #AEEF72
analogous
#7572EF #B372EF #EF72ED
triadic
#B372EF #EFB372 #72EFB3
tetradic
#B372EF #EF7572 #AEEF72 #72EDEF
square
#B372EF #EF7572 #AEEF72 #72EDEF
split-complementary
#B372EF #EDEF72 #72EF75
monochromatic
#7718CF #953BE9 #B372EF #D1A9F5 #EEE0FB
Accessibility & contrast
On white
3.20
#B372EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#B372EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B372EF
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B372EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B372EF | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#A989A6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b372ef; /* rgb */ color: rgb(179, 114, 239); /* oklch */ color: oklch(67.3% 0.186 306.0);
Tailwind
colors: {
custom: {
50: '#cd9cf5',
500: '#b372ef',
950: '#000000',
},
}SCSS
$custom: #b372ef; $custom-light: #cd9cf5; $custom-dark: #000000;
JSON
{
"hex": "#b372ef",
"rgb": {
"r": 179,
"g": 114,
"b": 239
},
"hsl": {
"h": 271.2,
"s": 79.618,
"l": 69.216
},
"oklch": {
"l": 0.67343,
"c": 0.18582,
"h": 306
},
"luminance": 0.2785
}Semantic roles & 50–950 ramp
primary
#B372EF
secondary
#DEF1CC
accent
#DC0A6F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85