#B276F6#B276F6
#B276F6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.188 H 303.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B276F6 |
|---|---|
| RGB | rgb(178, 118, 246) |
| HSL | hsl(268, 88%, 71%) |
| HSV | hsv(268, 52%, 96%) |
| CMYK | cmyk(27.6%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(60.85, 47.98, -55.61) |
| CIE-LCH | lch(60.85, 73.45, 310.79°) |
| OKLab | oklab(68.25% 0.1034 -0.1565) |
| OKLCH | oklch(68.25% 0.188 303.5) |
| XYZ | xyz(41.4694, 29.0757, 90.5984) |
| Luminance | 0.2908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.67
Light Purple
#BF77F6
ΔE00 2.49
Easter Purple
#C071FE
ΔE00 2.65
Bright Lavender
#C760FF
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.86
Liliac
#C48EFD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276F6 #BAF676
analogous
#767AF6 #B276F6 #F276F6
triadic
#B276F6 #F6B276 #76F6B2
tetradic
#B276F6 #F6767A #BAF676 #76F6F2
square
#B276F6 #F6767A #BAF676 #76F6F2
split-complementary
#B276F6 #F6F276 #7AF676
monochromatic
#720FE3 #923DF2 #B276F6 #D2AFFA #EFE2FD
Accessibility & contrast
On white
3.08
#B276F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B276F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276F6
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276F6 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B91FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#A68EAB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b276f6; /* rgb */ color: rgb(178, 118, 246); /* oklch */ color: oklch(68.3% 0.188 303.5);
Tailwind
colors: {
custom: {
50: '#cc9ffa',
500: '#b276f6',
950: '#000000',
},
}SCSS
$custom: #b276f6; $custom-light: #cc9ffa; $custom-dark: #000000;
JSON
{
"hex": "#b276f6",
"rgb": {
"r": 178,
"g": 118,
"b": 246
},
"hsl": {
"h": 268.125,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.6825,
"c": 0.18763,
"h": 303.5
},
"luminance": 0.29076
}Semantic roles & 50–950 ramp
primary
#B276F6
secondary
#E5F5D3
accent
#E4017A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85