#B581DD#B581DD

#B581DD is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.141 H 309.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B581DD
RGBrgb(181, 129, 221)
HSLhsl(274, 58%, 69%)
HSVhsv(274, 42%, 87%)
CMYKcmyk(18.1%, 41.6%, 0%, 13.3%)
CIE-LABlab(62.29, 37.09, -39.44)
CIE-LCHlch(62.29, 54.14, 313.24°)
OKLaboklab(68.99% 0.0891 -0.1095)
OKLCHoklch(68.99% 0.141 309.1)
XYZxyz(39.9550, 30.7452, 72.2222)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581DD #A9DD81
analogous
#8781DD #B581DD #DD81D7
triadic
#B581DD #DDB581 #81DDB5
tetradic
#B581DD #DD8781 #A9DD81 #81D7DD
square
#B581DD #DD8781 #A9DD81 #81D7DD
split-complementary
#B581DD #D7DD81 #81DD87
monochromatic
#7A30B3 #9951D0 #B581DD #D1B1EA #EEE1F7

Accessibility & contrast

On white

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

On black

7.15
#B581DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581DD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581DD#FFFFFF#000000##000000
##B581DD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#B08FA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b581dd;
/* rgb */ color: rgb(181, 129, 221);
/* oklch */ color: oklch(69.0% 0.141 309.1);
Tailwind
colors: {
  custom: {
    50: '#cda6e8',
    500: '#b581dd',
    950: '#000000',
  },
}
SCSS
$custom: #b581dd;
$custom-light: #cda6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b581dd",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 273.913,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68995,
    "c": 0.14115,
    "h": 309.1
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#B581DD
secondary
#DBEBCF
accent
#C52068
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B581DD

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

Preview Lab → · Contrast checker → · Palette generator →

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