#B281BD#B281BD

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

Color values

HEX#B281BD
RGBrgb(178, 129, 189)
HSLhsl(289, 31%, 62%)
HSVhsv(289, 32%, 74%)
CMYKcmyk(5.8%, 31.7%, 0%, 25.9%)
CIE-LABlab(60.64, 29.38, -24.03)
CIE-LCHlch(60.64, 37.95, 320.72°)
OKLaboklab(67.23% 0.0783 -0.0655)
OKLCHoklch(67.23% 0.102 320.1)
XYZxyz(35.3945, 28.8405, 51.8365)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281BD #8CBD81
analogous
#9481BD #B281BD #BD81AA
triadic
#B281BD #BDB281 #81BDB2
tetradic
#B281BD #BD9481 #8CBD81 #81AABD
square
#B281BD #BD9481 #8CBD81 #81AABD
split-complementary
#B281BD #AABD81 #81BD94
monochromatic
#754380 #9959A8 #B281BD #CBA9D2 #E3D1E7

Accessibility & contrast

On white

3.10
#B281BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B281BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281BD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281BD#FFFFFF#000000##000000
##B281BD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FBF
Deuteranopia (green-blind)
#8594BB
Tritanopia (blue-blind)
#B38897
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b281bd;
/* rgb */ color: rgb(178, 129, 189);
/* oklch */ color: oklch(67.2% 0.102 320.1);
Tailwind
colors: {
  custom: {
    50: '#caa6d1',
    500: '#b281bd',
    950: '#000000',
  },
}
SCSS
$custom: #b281bd;
$custom-light: #caa6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b281bd",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 289,
    "s": 31.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67234,
    "c": 0.10209,
    "h": 320.1
  },
  "luminance": 0.2884
}

Semantic roles & 50–950 ramp

primary
#B281BD
secondary
#C6D8C2
accent
#AA3C50
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B281BD

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

Preview Lab → · Contrast checker → · Palette generator →

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