#B276C1#B276C1

#B276C1 is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.5% C 0.126 H 319.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B276C1
RGBrgb(178, 118, 193)
HSLhsl(288, 38%, 61%)
HSVhsv(288, 39%, 76%)
CMYKcmyk(7.8%, 38.9%, 0%, 24.3%)
CIE-LABlab(58.30, 36.30, -29.92)
CIE-LCHlch(58.30, 47.04, 320.51°)
OKLaboklab(65.51% 0.0959 -0.0821)
OKLCHoklch(65.51% 0.126 319.4)
XYZxyz(34.4629, 26.2731, 53.6976)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276C1 #85C176
analogous
#8C76C1 #B276C1 #C176AA
triadic
#B276C1 #C1B276 #76C1B2
tetradic
#B276C1 #C18C76 #85C176 #76AAC1
square
#B276C1 #C18C76 #85C176 #76AAC1
split-complementary
#B276C1 #AAC176 #76C18C
monochromatic
#743B82 #994EAC #B276C1 #CAA0D4 #E1CAE7

Accessibility & contrast

On white

3.36
#B276C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B276C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276C1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276C1#FFFFFF#000000##000000
##B276C11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C88C4
Deuteranopia (green-blind)
#7B8EBF
Tritanopia (blue-blind)
#B37F92
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b276c1;
/* rgb */ color: rgb(178, 118, 193);
/* oklch */ color: oklch(65.5% 0.126 319.4);
Tailwind
colors: {
  custom: {
    50: '#ca9ed4',
    500: '#b276c1',
    950: '#000000',
  },
}
SCSS
$custom: #b276c1;
$custom-light: #ca9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#b276c1",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 193
  },
  "hsl": {
    "h": 288,
    "s": 37.688,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.12629,
    "h": 319.4
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#B276C1
secondary
#C1D8BB
accent
#B1354E
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B276C1

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

Preview Lab → · Contrast checker → · Palette generator →

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