#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
RGBrgb(178, 118, 220)
HSLhsl(275, 59%, 66%)
HSVhsv(275, 46%, 86%)
CMYKcmyk(19.1%, 46.4%, 0%, 13.7%)
CIE-LABlab(59.52, 42.05, -43.26)
CIE-LCHlch(59.52, 60.33, 314.19°)
OKLaboklab(66.83% 0.1008 -0.1205)
OKLCHoklch(66.83% 0.157 309.9)
XYZxyz(37.7544, 27.5897, 71.0327)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##B276DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.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

Preview Lab

Preview with #B276DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B276DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva