#B276DB#B276DB
#B276DB is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.156 H 310.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B276DB |
|---|---|
| RGB | rgb(178, 118, 219) |
| HSL | hsl(276, 58%, 66%) |
| HSV | hsv(276, 46%, 86%) |
| CMYK | cmyk(18.7%, 46.1%, 0%, 14.1%) |
| CIE-LAB | lab(59.47, 41.83, -42.77) |
| CIE-LCH | lch(59.47, 59.82, 314.36°) |
| OKLab | oklab(66.78% 0.1007 -0.1191) |
| OKLCH | oklch(66.78% 0.156 310.2) |
| XYZ | xyz(37.6224, 27.5369, 70.3373) |
| Luminance | 0.2754 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 5.49
Wisteria
#A87DC2
ΔE00 5.53
Mediumpurple
#9370DB
ΔE00 6.74
Deep Lilac
#966EBD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B276DB #9FDB76
analogous
#7F76DB #B276DB #DB76D1
triadic
#B276DB #DBB276 #76DBB2
tetradic
#B276DB #DB7F76 #9FDB76 #76D1DB
square
#B276DB #DB7F76 #9FDB76 #76D1DB
split-complementary
#B276DB #D1DB76 #76DB7F
monochromatic
#772DAA #9746CE #B276DB #CDA6E8 #E8D7F4
Accessibility & contrast
On white
3.23
#B276DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#B276DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B276DB
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B276DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B276DB | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8CDF
Deuteranopia (green-blind)
#6F90D8
Tritanopia (blue-blind)
#AD869E
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b276db; /* rgb */ color: rgb(178, 118, 219); /* oklch */ color: oklch(66.8% 0.156 310.2);
Tailwind
colors: {
custom: {
50: '#cb9fe6',
500: '#b276db',
950: '#000000',
},
}SCSS
$custom: #b276db; $custom-light: #cb9fe6; $custom-dark: #000000;
JSON
{
"hex": "#b276db",
"rgb": {
"r": 178,
"g": 118,
"b": 219
},
"hsl": {
"h": 275.644,
"s": 58.382,
"l": 66.078
},
"oklch": {
"l": 0.66776,
"c": 0.15596,
"h": 310.2
},
"luminance": 0.27536
}Semantic roles & 50–950 ramp
primary
#B276DB
secondary
#D3E7C6
accent
#C62063
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84