#B276DC#B276DC
#B276DC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.157 H 309.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B276DC |
|---|---|
| RGB | rgb(178, 118, 220) |
| HSL | hsl(275, 59%, 66%) |
| HSV | hsv(275, 46%, 86%) |
| CMYK | cmyk(19.1%, 46.4%, 0%, 13.7%) |
| CIE-LAB | lab(59.52, 42.05, -43.26) |
| CIE-LCH | lch(59.52, 60.33, 314.19°) |
| OKLab | oklab(66.83% 0.1008 -0.1205) |
| OKLCH | oklch(66.83% 0.157 309.9) |
| XYZ | xyz(37.7544, 27.5897, 71.0327) |
| Luminance | 0.2759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.60
Easter Purple
#C071FE
ΔE00 5.33
Wisteria
#A87DC2
ΔE00 5.68
Mediumpurple
#9370DB
ΔE00 6.67
Bright Lilac
#C95EFB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276DC #A0DC76
analogous
#7F76DC #B276DC #DC76D3
triadic
#B276DC #DCB276 #76DCB2
tetradic
#B276DC #DC7F76 #A0DC76 #76D3DC
square
#B276DC #DC7F76 #A0DC76 #76D3DC
split-complementary
#B276DC #D3DC76 #76DC7F
monochromatic
#772CAC #9745D0 #B276DC #CDA7E8 #E9D7F5
Accessibility & contrast
On white
3.22
#B276DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#B276DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276DC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276DC | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8DE0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#AD869F
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b276dc; /* rgb */ color: rgb(178, 118, 220); /* oklch */ color: oklch(66.8% 0.157 309.9);
Tailwind
colors: {
custom: {
50: '#cb9fe7',
500: '#b276dc',
950: '#000000',
},
}SCSS
$custom: #b276dc; $custom-light: #cb9fe7; $custom-dark: #000000;
JSON
{
"hex": "#b276dc",
"rgb": {
"r": 178,
"g": 118,
"b": 220
},
"hsl": {
"h": 275.294,
"s": 59.302,
"l": 66.275
},
"oklch": {
"l": 0.66828,
"c": 0.15713,
"h": 309.9
},
"luminance": 0.27589
}Semantic roles & 50–950 ramp
primary
#B276DC
secondary
#D4E8C6
accent
#C71F64
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84