#B276EF#B276EF
#B276EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.179 H 305.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B276EF |
|---|---|
| RGB | rgb(178, 118, 239) |
| HSL | hsl(270, 79%, 70%) |
| HSV | hsv(270, 51%, 94%) |
| CMYK | cmyk(25.5%, 50.6%, 0%, 6.3%) |
| CIE-LAB | lab(60.48, 46.35, -52.33) |
| CIE-LCH | lch(60.48, 69.91, 311.53°) |
| OKLab | oklab(67.85% 0.1029 -0.147) |
| OKLCH | oklch(67.85% 0.179 305) |
| XYZ | xyz(40.4152, 28.6541, 85.0463) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.96
Light Purple
#BF77F6
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 3.00
Bright Lavender
#C760FF
ΔE00 5.52
Bright Lilac
#C95EFB
ΔE00 5.88
Mediumpurple
#9370DB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276EF #B3EF76
analogous
#7677EF #B276EF #EE76EF
triadic
#B276EF #EFB276 #76EFB2
tetradic
#B276EF #EF7677 #B3EF76 #76EFEE
square
#B276EF #EF7677 #B3EF76 #76EFEE
split-complementary
#B276EF #EFEE76 #77EF76
monochromatic
#7519D2 #933FE9 #B276EF #D1ADF5 #F0E4FC
Accessibility & contrast
On white
3.12
#B276EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#B276EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276EF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276EF | 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)
#5190F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#A88CA8
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b276ef; /* rgb */ color: rgb(178, 118, 239); /* oklch */ color: oklch(67.9% 0.179 305.0);
Tailwind
colors: {
custom: {
50: '#cc9ff5',
500: '#b276ef',
950: '#000000',
},
}SCSS
$custom: #b276ef; $custom-light: #cc9ff5; $custom-dark: #000000;
JSON
{
"hex": "#b276ef",
"rgb": {
"r": 178,
"g": 118,
"b": 239
},
"hsl": {
"h": 269.752,
"s": 79.085,
"l": 70
},
"oklch": {
"l": 0.67853,
"c": 0.17942,
"h": 305
},
"luminance": 0.28654
}Semantic roles & 50–950 ramp
primary
#B276EF
secondary
#E1F1CF
accent
#DB0A74
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85