#B276F8#B276F8
#B276F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.190 H 303.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B276F8 |
|---|---|
| RGB | rgb(178, 118, 248) |
| HSL | hsl(268, 90%, 72%) |
| HSV | hsv(268, 52%, 97%) |
| CMYK | cmyk(28.2%, 52.4%, 0%, 2.7%) |
| CIE-LAB | lab(60.96, 48.45, -56.55) |
| CIE-LCH | lch(60.96, 74.47, 310.59°) |
| OKLab | oklab(68.37% 0.1036 -0.1593) |
| OKLCH | oklch(68.37% 0.19 303) |
| XYZ | xyz(41.7780, 29.1992, 92.2238) |
| Luminance | 0.2920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.70
Light Purple
#BF77F6
ΔE00 2.60
Easter Purple
#C071FE
ΔE00 2.62
Bright Lavender
#C760FF
ΔE00 5.37
Bright Lilac
#C95EFB
ΔE00 5.89
Liliac
#C48EFD
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276F8 #BCF876
analogous
#767BF8 #B276F8 #F376F8
triadic
#B276F8 #F8B276 #76F8B2
tetradic
#B276F8 #F8767B #BCF876 #76F8F3
square
#B276F8 #F8767B #BCF876 #76F8F3
split-complementary
#B276F8 #F8F376 #7BF876
monochromatic
#710CE8 #913CF5 #B276F8 #D3B0FB #EFE2FE
Accessibility & contrast
On white
3.07
#B276F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#B276F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276F8
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276F8 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#A58EAC
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b276f8; /* rgb */ color: rgb(178, 118, 248); /* oklch */ color: oklch(68.4% 0.190 303.0);
Tailwind
colors: {
custom: {
50: '#cc9ffb',
500: '#b276f8',
950: '#000000',
},
}SCSS
$custom: #b276f8; $custom-light: #cc9ffb; $custom-dark: #000000;
JSON
{
"hex": "#b276f8",
"rgb": {
"r": 178,
"g": 118,
"b": 248
},
"hsl": {
"h": 267.692,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.68366,
"c": 0.18998,
"h": 303
},
"luminance": 0.29199
}Semantic roles & 50–950 ramp
primary
#B276F8
secondary
#E6F5D4
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85