#B281BC#B281BC

#B281BC is a light, moderate purple. Relative luminance 0.288; OKLCH L 67.2% C 0.101 H 320.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B281BC
RGBrgb(178, 129, 188)
HSLhsl(290, 31%, 62%)
HSVhsv(290, 31%, 74%)
CMYKcmyk(5.3%, 31.4%, 0%, 26.3%)
CIE-LABlab(60.60, 29.17, -23.52)
CIE-LCHlch(60.60, 37.47, 321.13°)
OKLaboklab(67.19% 0.0781 -0.0641)
OKLCHoklch(67.19% 0.101 320.6)
XYZxyz(35.2863, 28.7973, 51.2668)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281BC #8BBC81
analogous
#9581BC #B281BC #BC81A8
triadic
#B281BC #BCB281 #81BCB2
tetradic
#B281BC #BC9581 #8BBC81 #81A8BC
square
#B281BC #BC9581 #8BBC81 #81A8BC
split-complementary
#B281BC #A8BC81 #81BC95
monochromatic
#75447F #9A59A7 #B281BC #CAA9D1 #E3D1E6

Accessibility & contrast

On white

3.11
#B281BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B281BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281BC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281BC#FFFFFF#000000##000000
##B281BC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FBE
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#B38796
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b281bc;
/* rgb */ color: rgb(178, 129, 188);
/* oklch */ color: oklch(67.2% 0.101 320.6);
Tailwind
colors: {
  custom: {
    50: '#caa6d0',
    500: '#b281bc',
    950: '#000000',
  },
}
SCSS
$custom: #b281bc;
$custom-light: #caa6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b281bc",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 289.831,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67193,
    "c": 0.10097,
    "h": 320.6
  },
  "luminance": 0.28796
}

Semantic roles & 50–950 ramp

primary
#B281BC
secondary
#C5D7C2
accent
#A93C4F
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B281BC

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

Preview Lab → · Contrast checker → · Palette generator →

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