#B276BC#B276BC

#B276BC is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.3% C 0.121 H 321.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B276BC
RGBrgb(178, 118, 188)
HSLhsl(291, 34%, 60%)
HSVhsv(291, 37%, 74%)
CMYKcmyk(5.3%, 37.2%, 0%, 26.3%)
CIE-LABlab(58.09, 35.29, -27.39)
CIE-LCHlch(58.09, 44.68, 322.19°)
OKLaboklab(65.29% 0.0948 -0.0749)
OKLCHoklch(65.29% 0.121 321.7)
XYZxyz(33.9146, 26.0538, 50.8096)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276BC #80BC76
analogous
#8F76BC #B276BC #BC76A3
triadic
#B276BC #BCB276 #76BCB2
tetradic
#B276BC #BC8F76 #80BC76 #76A3BC
square
#B276BC #BC8F76 #80BC76 #76A3BC
split-complementary
#B276BC #A3BC76 #76BC8F
monochromatic
#723C7B #9850A4 #B276BC #C99FD0 #E0C8E4

Accessibility & contrast

On white

3.38
#B276BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B276BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276BC#FFFFFF#000000##000000
##B276BC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BF
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#B47E90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b276bc;
/* rgb */ color: rgb(178, 118, 188);
/* oklch */ color: oklch(65.3% 0.121 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca9ed0',
    500: '#b276bc',
    950: '#000000',
  },
}
SCSS
$custom: #b276bc;
$custom-light: #ca9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b276bc",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 291.429,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.65288,
    "c": 0.12084,
    "h": 321.7
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#B276BC
secondary
#BDD4B9
accent
#CA5D6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B276BC

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

Preview Lab → · Contrast checker → · Palette generator →

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