#B581DB#B581DB

#B581DB is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.9% C 0.139 H 309.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B581DB
RGBrgb(181, 129, 219)
HSLhsl(275, 56%, 68%)
HSVhsv(275, 41%, 86%)
CMYKcmyk(17.4%, 41.1%, 0%, 14.1%)
CIE-LABlab(62.20, 36.65, -38.46)
CIE-LCHlch(62.20, 53.12, 313.62°)
OKLaboklab(68.9% 0.0887 -0.1066)
OKLCHoklch(68.9% 0.139 309.8)
XYZxyz(39.6901, 30.6393, 70.8272)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581DB #A7DB81
analogous
#8881DB #B581DB #DB81D4
triadic
#B581DB #DBB581 #81DBB5
tetradic
#B581DB #DB8881 #A7DB81 #81D4DB
square
#B581DB #DB8881 #A7DB81 #81D4DB
split-complementary
#B581DB #D4DB81 #81DB88
monochromatic
#7B32AF #9951CD #B581DB #D1B1E9 #EDE0F6

Accessibility & contrast

On white

2.95
#B581DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B581DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581DB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581DB#FFFFFF#000000##000000
##B581DB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b581db;
/* rgb */ color: rgb(181, 129, 219);
/* oklch */ color: oklch(68.9% 0.139 309.8);
Tailwind
colors: {
  custom: {
    50: '#cca6e6',
    500: '#b581db',
    950: '#000000',
  },
}
SCSS
$custom: #b581db;
$custom-light: #cca6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b581db",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 274.667,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.13873,
    "h": 309.8
  },
  "luminance": 0.30639
}

Semantic roles & 50–950 ramp

primary
#B581DB
secondary
#DAEACE
accent
#C32266
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B581DB

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

Preview Lab → · Contrast checker → · Palette generator →

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