#B372E2#B372E2
#B372E2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.171 H 309.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B372E2 |
|---|---|
| RGB | rgb(179, 114, 226) |
| HSL | hsl(275, 66%, 67%) |
| HSV | hsv(275, 50%, 89%) |
| CMYK | cmyk(20.8%, 49.6%, 0%, 11.4%) |
| CIE-LAB | lab(59.08, 45.81, -47.31) |
| CIE-LCH | lch(59.08, 65.85, 314.08°) |
| OKLab | oklab(66.62% 0.1082 -0.1323) |
| OKLCH | oklch(66.62% 0.171 309.3) |
| XYZ | xyz(38.3326, 27.1099, 75.1501) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.28
Light Purple
#BF77F6
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 4.25
Bright Lavender
#C760FF
ΔE00 5.65
Bright Lilac
#C95EFB
ΔE00 5.69
Mediumpurple
#9370DB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B372E2 #A1E272
analogous
#7B72E2 #B372E2 #E272D9
triadic
#B372E2 #E2B372 #72E2B3
tetradic
#B372E2 #E27B72 #A1E272 #72D9E2
square
#B372E2 #E27B72 #A1E272 #72D9E2
split-complementary
#B372E2 #D9E272 #72E27B
monochromatic
#7825B4 #983FD8 #B372E2 #CEA5EC #EAD8F7
Accessibility & contrast
On white
3.27
#B372E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#B372E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B372E2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B372E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B372E2 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558BE6
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#AD85A0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b372e2; /* rgb */ color: rgb(179, 114, 226); /* oklch */ color: oklch(66.6% 0.171 309.3);
Tailwind
colors: {
custom: {
50: '#cc9ceb',
500: '#b372e2',
950: '#000000',
},
}SCSS
$custom: #b372e2; $custom-light: #cc9ceb; $custom-dark: #000000;
JSON
{
"hex": "#b372e2",
"rgb": {
"r": 179,
"g": 114,
"b": 226
},
"hsl": {
"h": 274.821,
"s": 65.882,
"l": 66.667
},
"oklch": {
"l": 0.66621,
"c": 0.17089,
"h": 309.3
},
"luminance": 0.27109
}Semantic roles & 50–950 ramp
primary
#B372E2
secondary
#D5EAC6
accent
#CE1864
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84