#B581CB#B581CB

#B581CB is a light, moderate purple. Relative luminance 0.298; OKLCH L 68.2% C 0.120 H 315.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B581CB
RGBrgb(181, 129, 203)
HSLhsl(282, 42%, 65%)
HSVhsv(282, 36%, 80%)
CMYKcmyk(10.8%, 36.5%, 0%, 20.4%)
CIE-LABlab(61.51, 33.21, -30.56)
CIE-LCHlch(61.51, 45.13, 317.38°)
OKLaboklab(68.15% 0.0854 -0.084)
OKLCHoklch(68.15% 0.12 315.5)
XYZxyz(37.6842, 29.8369, 60.2623)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581CB #97CB81
analogous
#9081CB #B581CB #CB81BC
triadic
#B581CB #CBB581 #81CBB5
tetradic
#B581CB #CB9081 #97CB81 #81BCCB
square
#B581CB #CB9081 #97CB81 #81BCCB
split-complementary
#B581CB #BCCB81 #81CB90
monochromatic
#7A3D94 #9C56B9 #B581CB #CEACDD #E8D8EF

Accessibility & contrast

On white

3.01
#B581CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B581CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B581CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581CB#FFFFFF#000000##000000
##B581CB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#B48B9D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b581cb;
/* rgb */ color: rgb(181, 129, 203);
/* oklch */ color: oklch(68.2% 0.120 315.5);
Tailwind
colors: {
  custom: {
    50: '#cca6db',
    500: '#b581cb',
    950: '#000000',
  },
}
SCSS
$custom: #b581cb;
$custom-light: #cca6db;
$custom-dark: #000000;
JSON
{
  "hex": "#b581cb",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 282.162,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68152,
    "c": 0.11977,
    "h": 315.5
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

primary
#B581CB
secondary
#CFE0C7
accent
#B53158
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B581CB

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

Preview Lab → · Contrast checker → · Palette generator →

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