#B476F2#B476F2
#B476F2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.183 H 305.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B476F2 |
|---|---|
| RGB | rgb(180, 118, 242) |
| HSL | hsl(270, 83%, 71%) |
| HSV | hsv(270, 51%, 95%) |
| CMYK | cmyk(25.6%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(60.84, 47.56, -53.40) |
| CIE-LCH | lch(60.84, 71.51, 311.69°) |
| OKLab | oklab(68.23% 0.1056 -0.15) |
| OKLCH | oklch(68.23% 0.183 305.1) |
| XYZ | xyz(41.3244, 29.0712, 87.4215) |
| Luminance | 0.2907 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.81
Light Purple
#BF77F6
ΔE00 1.99
Easter Purple
#C071FE
ΔE00 2.55
Bright Lavender
#C760FF
ΔE00 5.24
Bright Lilac
#C95EFB
ΔE00 5.64
Liliac
#C48EFD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B476F2 #B4F276
analogous
#7676F2 #B476F2 #F276F2
triadic
#B476F2 #F2B476 #76F2B4
tetradic
#B476F2 #F27676 #B4F276 #76F2F2
square
#B476F2 #F27676 #B4F276 #76F2F2
split-complementary
#B476F2 #F2F276 #76F276
monochromatic
#7715D9 #953EED #B476F2 #D3AEF7 #F0E3FC
Accessibility & contrast
On white
3.08
#B476F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#B476F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B476F2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B476F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B476F2 | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#AA8CA9
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b476f2; /* rgb */ color: rgb(180, 118, 242); /* oklch */ color: oklch(68.2% 0.183 305.1);
Tailwind
colors: {
custom: {
50: '#cd9ff7',
500: '#b476f2',
950: '#000000',
},
}SCSS
$custom: #b476f2; $custom-light: #cd9ff7; $custom-dark: #000000;
JSON
{
"hex": "#b476f2",
"rgb": {
"r": 180,
"g": 118,
"b": 242
},
"hsl": {
"h": 270,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.68226,
"c": 0.18345,
"h": 305.1
},
"luminance": 0.29071
}Semantic roles & 50–950 ramp
primary
#B476F2
secondary
#E2F3D1
accent
#DF0673
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85