#B476EA#B476EA
#B476EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.174 H 307.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B476EA |
|---|---|
| RGB | rgb(180, 118, 234) |
| HSL | hsl(272, 73%, 69%) |
| HSV | hsv(272, 50%, 92%) |
| CMYK | cmyk(23.1%, 49.6%, 0%, 8.2%) |
| CIE-LAB | lab(60.43, 45.73, -49.62) |
| CIE-LCH | lch(60.43, 67.48, 312.66°) |
| OKLab | oklab(67.78% 0.1049 -0.139) |
| OKLCH | oklch(67.78% 0.174 307) |
| XYZ | xyz(40.1491, 28.6011, 81.2314) |
| Luminance | 0.2860 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.31
Light Urple
#B36FF6
ΔE00 2.60
Easter Purple
#C071FE
ΔE00 3.31
Bright Lavender
#C760FF
ΔE00 5.60
Bright Lilac
#C95EFB
ΔE00 5.83
Mediumpurple
#9370DB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B476EA #ACEA76
analogous
#7A76EA #B476EA #EA76E6
triadic
#B476EA #EAB476 #76EAB4
tetradic
#B476EA #EA7A76 #ACEA76 #76E6EA
square
#B476EA #EA7A76 #ACEA76 #76E6EA
split-complementary
#B476EA #E6EA76 #76EA7A
monochromatic
#791FC7 #9741E2 #B476EA #D1ABF2 #EEE0FA
Accessibility & contrast
On white
3.12
#B476EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#B476EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B476EA
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B476EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B476EA | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#AC8AA5
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b476ea; /* rgb */ color: rgb(180, 118, 234); /* oklch */ color: oklch(67.8% 0.174 307.0);
Tailwind
colors: {
custom: {
50: '#cd9ff1',
500: '#b476ea',
950: '#000000',
},
}SCSS
$custom: #b476ea; $custom-light: #cd9ff1; $custom-dark: #000000;
JSON
{
"hex": "#b476ea",
"rgb": {
"r": 180,
"g": 118,
"b": 234
},
"hsl": {
"h": 272.069,
"s": 73.418,
"l": 69.02
},
"oklch": {
"l": 0.67782,
"c": 0.17412,
"h": 307
},
"luminance": 0.28601
}Semantic roles & 50–950 ramp
primary
#B476EA
secondary
#DDEFCD
accent
#D6106C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85