#B581CA#B581CA

#B581CA is a light, moderate purple. Relative luminance 0.298; OKLCH L 68.1% C 0.119 H 315.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B581CA
RGBrgb(181, 129, 202)
HSLhsl(283, 41%, 65%)
HSVhsv(283, 36%, 79%)
CMYKcmyk(10.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(61.47, 33.00, -30.06)
CIE-LCHlch(61.47, 44.64, 317.67°)
OKLaboklab(68.11% 0.0851 -0.0826)
OKLCHoklch(68.11% 0.119 315.9)
XYZxyz(37.5654, 29.7894, 59.6367)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581CA #96CA81
analogous
#9181CA #B581CA #CA81BA
triadic
#B581CA #CAB581 #81CAB5
tetradic
#B581CA #CA9181 #96CA81 #81BACA
square
#B581CA #CA9181 #96CA81 #81BACA
split-complementary
#B581CA #BACA81 #81CA91
monochromatic
#7A3E93 #9C56B8 #B581CA #CEACDC #E8D7EE

Accessibility & contrast

On white

3.02
#B581CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B581CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B581CA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581CA#FFFFFF#000000##000000
##B581CA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#8296C8
Tritanopia (blue-blind)
#B48A9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b581ca;
/* rgb */ color: rgb(181, 129, 202);
/* oklch */ color: oklch(68.1% 0.119 315.9);
Tailwind
colors: {
  custom: {
    50: '#cca6da',
    500: '#b581ca',
    950: '#000000',
  },
}
SCSS
$custom: #b581ca;
$custom-light: #cca6da;
$custom-dark: #000000;
JSON
{
  "hex": "#b581ca",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 282.74,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.1186,
    "h": 315.9
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#B581CA
secondary
#CEE0C7
accent
#B43257
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B581CA

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

Preview Lab → · Contrast checker → · Palette generator →

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