#B276CD#B276CD

#B276CD is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.1% C 0.140 H 314.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B276CD
RGBrgb(178, 118, 205)
HSLhsl(281, 47%, 63%)
HSVhsv(281, 42%, 80%)
CMYKcmyk(13.2%, 42.4%, 0%, 19.6%)
CIE-LABlab(58.82, 38.79, -35.91)
CIE-LCHlch(58.82, 52.86, 317.21°)
OKLaboklab(66.08% 0.0984 -0.0993)
OKLCHoklch(66.08% 0.14 314.7)
XYZxyz(35.8562, 26.8305, 61.0357)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276CD #91CD76
analogous
#8676CD #B276CD #CD76BC
triadic
#B276CD #CDB276 #76CDB2
tetradic
#B276CD #CD8676 #91CD76 #76BCCD
square
#B276CD #CD8676 #91CD76 #76BCCD
split-complementary
#B276CD #BCCD76 #76CD86
monochromatic
#763693 #9949BD #B276CD #CBA3DD #E4D0EE

Accessibility & contrast

On white

3.30
#B276CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B276CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276CD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276CD#FFFFFF#000000##000000
##B276CD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#768FCB
Tritanopia (blue-blind)
#B08298
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b276cd;
/* rgb */ color: rgb(178, 118, 205);
/* oklch */ color: oklch(66.1% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#ca9fdc',
    500: '#b276cd',
    950: '#000000',
  },
}
SCSS
$custom: #b276cd;
$custom-light: #ca9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b276cd",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 281.379,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66076,
    "c": 0.13978,
    "h": 314.7
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#B276CD
secondary
#CADFC0
accent
#BA2C58
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B276CD

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

Preview Lab → · Contrast checker → · Palette generator →

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