#B581CC#B581CC

#B581CC is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.2% C 0.121 H 315.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B581CC
RGBrgb(181, 129, 204)
HSLhsl(282, 42%, 65%)
HSVhsv(282, 37%, 80%)
CMYKcmyk(11.3%, 36.8%, 0%, 20%)
CIE-LABlab(61.55, 33.42, -31.06)
CIE-LCHlch(61.55, 45.63, 317.09°)
OKLaboklab(68.2% 0.0856 -0.0854)
OKLCHoklch(68.2% 0.121 315.1)
XYZxyz(37.8037, 29.8847, 60.8919)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581CC #98CC81
analogous
#8F81CC #B581CC #CC81BD
triadic
#B581CC #CCB581 #81CCB5
tetradic
#B581CC #CC8F81 #98CC81 #81BDCC
square
#B581CC #CC8F81 #98CC81 #81BDCC
split-complementary
#B581CC #BDCC81 #81CC8F
monochromatic
#7B3D96 #9B55BA #B581CC #CFADDE #E8D8EF

Accessibility & contrast

On white

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

On black

6.98
#B581CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B581CC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581CC#FFFFFF#000000##000000
##B581CC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B48B9D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b581cc;
/* rgb */ color: rgb(181, 129, 204);
/* oklch */ color: oklch(68.2% 0.121 315.1);
Tailwind
colors: {
  custom: {
    50: '#cca6db',
    500: '#b581cc',
    950: '#000000',
  },
}
SCSS
$custom: #b581cc;
$custom-light: #cca6db;
$custom-dark: #000000;
JSON
{
  "hex": "#b581cc",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 281.6,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68197,
    "c": 0.12094,
    "h": 315.1
  },
  "luminance": 0.29884
}

Semantic roles & 50–950 ramp

primary
#B581CC
secondary
#D0E1C8
accent
#B53059
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B581CC

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

Preview Lab → · Contrast checker → · Palette generator →

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