#B276BF#B276BF

#B276BF is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.4% C 0.124 H 320.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B276BF
RGBrgb(178, 118, 191)
HSLhsl(289, 36%, 61%)
HSVhsv(289, 38%, 75%)
CMYKcmyk(6.8%, 38.2%, 0%, 25.1%)
CIE-LABlab(58.21, 35.90, -28.91)
CIE-LCHlch(58.21, 46.09, 321.15°)
OKLaboklab(65.42% 0.0955 -0.0793)
OKLCHoklch(65.42% 0.124 320.3)
XYZxyz(34.2413, 26.1845, 52.5305)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276BF #83BF76
analogous
#8D76BF #B276BF #BF76A7
triadic
#B276BF #BFB276 #76BFB2
tetradic
#B276BF #BF8D76 #83BF76 #76A7BF
square
#B276BF #BF8D76 #83BF76 #76A7BF
split-complementary
#B276BF #A7BF76 #76BF8D
monochromatic
#733B7F #994FA9 #B276BF #C9A0D2 #E1C9E6

Accessibility & contrast

On white

3.37
#B276BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B276BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276BF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276BF#FFFFFF#000000##000000
##B276BF1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b276bf;
/* rgb */ color: rgb(178, 118, 191);
/* oklch */ color: oklch(65.4% 0.124 320.3);
Tailwind
colors: {
  custom: {
    50: '#ca9ed2',
    500: '#b276bf',
    950: '#000000',
  },
}
SCSS
$custom: #b276bf;
$custom-light: #ca9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#b276bf",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 289.315,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65422,
    "c": 0.12409,
    "h": 320.3
  },
  "luminance": 0.26183
}

Semantic roles & 50–950 ramp

primary
#B276BF
secondary
#BFD6BB
accent
#AF364C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B276BF

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

Preview Lab → · Contrast checker → · Palette generator →

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