#B581DC#B581DC

#B581DC is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.9% C 0.140 H 309.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B581DC
RGBrgb(181, 129, 220)
HSLhsl(274, 57%, 68%)
HSVhsv(274, 41%, 86%)
CMYKcmyk(17.7%, 41.4%, 0%, 13.7%)
CIE-LABlab(62.25, 36.87, -38.95)
CIE-LCHlch(62.25, 53.63, 313.43°)
OKLaboklab(68.95% 0.0889 -0.1081)
OKLCHoklch(68.95% 0.14 309.4)
XYZxyz(39.8222, 30.6921, 71.5226)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581DC #A8DC81
analogous
#8781DC #B581DC #DC81D5
triadic
#B581DC #DCB581 #81DCB5
tetradic
#B581DC #DC8781 #A8DC81 #81D5DC
square
#B581DC #DC8781 #A8DC81 #81D5DC
split-complementary
#B581DC #D5DC81 #81DC87
monochromatic
#7A31B1 #9951CF #B581DC #D1B1E9 #EDE1F7

Accessibility & contrast

On white

2.94
#B581DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B581DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581DC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581DC#FFFFFF#000000##000000
##B581DC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#B08FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b581dc;
/* rgb */ color: rgb(181, 129, 220);
/* oklch */ color: oklch(68.9% 0.140 309.4);
Tailwind
colors: {
  custom: {
    50: '#cca6e7',
    500: '#b581dc',
    950: '#000000',
  },
}
SCSS
$custom: #b581dc;
$custom-light: #cca6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b581dc",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 274.286,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.13994,
    "h": 309.4
  },
  "luminance": 0.30692
}

Semantic roles & 50–950 ramp

primary
#B581DC
secondary
#DAEACF
accent
#C42167
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B581DC

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

Preview Lab → · Contrast checker → · Palette generator →

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