#B276E2#B276E2
#B276E2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.164 H 308.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B276E2 |
|---|---|
| RGB | rgb(178, 118, 226) |
| HSL | hsl(273, 65%, 67%) |
| HSV | hsv(273, 48%, 89%) |
| CMYK | cmyk(21.2%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(59.81, 43.38, -46.15) |
| CIE-LCH | lch(59.81, 63.34, 313.23°) |
| OKLab | oklab(67.14% 0.1016 -0.1289) |
| OKLCH | oklch(67.14% 0.164 308.2) |
| XYZ | xyz(38.5633, 27.9133, 75.2930) |
| Luminance | 0.2791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Light Urple
#B36FF6
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.45
Mediumpurple
#9370DB
ΔE00 6.35
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276E2 #A6E276
analogous
#7C76E2 #B276E2 #E276DC
triadic
#B276E2 #E2B276 #76E2B2
tetradic
#B276E2 #E27C76 #A6E276 #76DCE2
square
#B276E2 #E27C76 #A6E276 #76DCE2
split-complementary
#B276E2 #DCE276 #76E27C
monochromatic
#7727B7 #9643D7 #B276E2 #CEA9ED #EBDBF7
Accessibility & contrast
On white
3.19
#B276E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#B276E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276E2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276E2 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8EE6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#AB88A1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b276e2; /* rgb */ color: rgb(178, 118, 226); /* oklch */ color: oklch(67.1% 0.164 308.2);
Tailwind
colors: {
custom: {
50: '#cb9feb',
500: '#b276e2',
950: '#000000',
},
}SCSS
$custom: #b276e2; $custom-light: #cb9feb; $custom-dark: #000000;
JSON
{
"hex": "#b276e2",
"rgb": {
"r": 178,
"g": 118,
"b": 226
},
"hsl": {
"h": 273.333,
"s": 65.06,
"l": 67.451
},
"oklch": {
"l": 0.67143,
"c": 0.16415,
"h": 308.2
},
"luminance": 0.27913
}Semantic roles & 50–950 ramp
primary
#B276E2
secondary
#D8EBC9
accent
#CD1969
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84