#B281B2#B281B2

#B281B2 is a light, moderate purple. Relative luminance 0.284; OKLCH L 66.8% C 0.090 H 326.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B281B2
RGBrgb(178, 129, 178)
HSLhsl(300, 24%, 60%)
HSVhsv(300, 28%, 70%)
CMYKcmyk(0%, 27.5%, 0%, 30.2%)
CIE-LABlab(60.23, 27.20, -18.40)
CIE-LCHlch(60.23, 32.84, 325.92°)
OKLaboklab(66.79% 0.0752 -0.0497)
OKLCHoklch(66.79% 0.09 326.5)
XYZxyz(34.2454, 28.3809, 45.7850)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281B2 #81B281
analogous
#9981B2 #B281B2 #B28199
triadic
#B281B2 #B2B281 #81B2B2
tetradic
#B281B2 #B29981 #81B281 #8199B2
square
#B281B2 #B29981 #81B281 #8199B2
split-complementary
#B281B2 #99B281 #81B299
monochromatic
#734673 #995D99 #B281B2 #C9A7C9 #E0CDE0

Accessibility & contrast

On white

3.15
#B281B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B281B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281B2#FFFFFF#000000##000000
##B281B21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB4
Deuteranopia (green-blind)
#8993B0
Tritanopia (blue-blind)
#B58592
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b281b2;
/* rgb */ color: rgb(178, 129, 178);
/* oklch */ color: oklch(66.8% 0.090 326.5);
Tailwind
colors: {
  custom: {
    50: '#c9a6c9',
    500: '#b281b2',
    950: '#000000',
  },
}
SCSS
$custom: #b281b2;
$custom-light: #c9a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b281b2",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 24.138,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.09013,
    "h": 326.5
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#B281B2
secondary
#BED1BE
accent
#A34343
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F13
muted
#827F82

Preview Lab

Preview with #B281B2

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

Preview Lab → · Contrast checker → · Palette generator →

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