#B276CA#B276CA

#B276CA is a light, vivid purple. Relative luminance 0.267; OKLCH L 65.9% C 0.136 H 315.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B276CA
RGBrgb(178, 118, 202)
HSLhsl(283, 44%, 63%)
HSVhsv(283, 42%, 79%)
CMYKcmyk(11.9%, 41.6%, 0%, 20.8%)
CIE-LABlab(58.68, 38.16, -34.42)
CIE-LCHlch(58.68, 51.39, 317.95°)
OKLaboklab(65.93% 0.0978 -0.095)
OKLCHoklch(65.93% 0.136 315.8)
XYZxyz(35.4976, 26.6870, 59.1468)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276CA #8ECA76
analogous
#8876CA #B276CA #CA76B8
triadic
#B276CA #CAB276 #76CAB2
tetradic
#B276CA #CA8876 #8ECA76 #76B8CA
square
#B276CA #CA8876 #8ECA76 #76B8CA
split-complementary
#B276CA #B8CA76 #76CA88
monochromatic
#76378E #994AB9 #B276CA #CBA2DB #E4CEEC

Accessibility & contrast

On white

3.31
#B276CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B276CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276CA#FFFFFF#000000##000000
##B276CA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CD
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#B18196
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b276ca;
/* rgb */ color: rgb(178, 118, 202);
/* oklch */ color: oklch(65.9% 0.136 315.8);
Tailwind
colors: {
  custom: {
    50: '#ca9fda',
    500: '#b276ca',
    950: '#000000',
  },
}
SCSS
$custom: #b276ca;
$custom-light: #ca9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#b276ca",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 282.857,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.13637,
    "h": 315.8
  },
  "luminance": 0.26686
}

Semantic roles & 50–950 ramp

primary
#B276CA
secondary
#C7DDBF
accent
#B72E55
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B276CA

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

Preview Lab → · Contrast checker → · Palette generator →

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