#B372FC#B372FC
#B372FC is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.1% C 0.201 H 303.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B372FC |
|---|---|
| RGB | rgb(179, 114, 252) |
| HSL | hsl(268, 96%, 72%) |
| HSV | hsv(268, 55%, 99%) |
| CMYK | cmyk(29%, 54.8%, 0%, 1.2%) |
| CIE-LAB | lab(60.47, 51.76, -59.53) |
| CIE-LCH | lch(60.47, 78.88, 311.01°) |
| OKLab | oklab(68.1% 0.11 -0.168) |
| OKLCH | oklch(68.1% 0.201 303.2) |
| XYZ | xyz(42.1745, 28.6467, 95.3841) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.15
Easter Purple
#C071FE
ΔE00 2.28
Light Purple
#BF77F6
ΔE00 2.97
Bright Lavender
#C760FF
ΔE00 4.60
Bright Lilac
#C95EFB
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B372FC #BBFC72
analogous
#7276FC #B372FC #F872FC
triadic
#B372FC #FCB372 #72FCB3
tetradic
#B372FC #FC7276 #BBFC72 #72FCF8
square
#B372FC #FC7276 #BBFC72 #72FCF8
split-complementary
#B372FC #FCF872 #76FC72
monochromatic
#7305EF #9336FB #B372FC #D3AEFD #EFE1FE
Accessibility & contrast
On white
3.12
#B372FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#B372FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B372FC
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B372FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B372FC | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#A68DAC
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b372fc; /* rgb */ color: rgb(179, 114, 252); /* oklch */ color: oklch(68.1% 0.201 303.2);
Tailwind
colors: {
custom: {
50: '#cd9dfe',
500: '#b372fc',
950: '#000000',
},
}SCSS
$custom: #b372fc; $custom-light: #cd9dfe; $custom-dark: #000000;
JSON
{
"hex": "#b372fc",
"rgb": {
"r": 179,
"g": 114,
"b": 252
},
"hsl": {
"h": 268.261,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.68101,
"c": 0.20077,
"h": 303.2
},
"luminance": 0.28647
}Semantic roles & 50–950 ramp
primary
#B372FC
secondary
#E6F6D3
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86