#B581ED#B581ED

#B581ED is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.161 H 304.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B581ED
RGBrgb(181, 129, 237)
HSLhsl(269, 75%, 72%)
HSVhsv(269, 46%, 93%)
CMYKcmyk(23.6%, 45.6%, 0%, 7.1%)
CIE-LABlab(63.04, 40.71, -47.14)
CIE-LCHlch(63.04, 62.28, 310.81°)
OKLaboklab(69.8% 0.0916 -0.1318)
OKLCHoklch(69.8% 0.161 304.8)
XYZxyz(42.1892, 31.6389, 83.9887)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581ED #B9ED81
analogous
#8183ED #B581ED #EB81ED
triadic
#B581ED #EDB581 #81EDB5
tetradic
#B581ED #ED8183 #B9ED81 #81EDEB
square
#B581ED #ED8183 #B9ED81 #81EDEB
split-complementary
#B581ED #EDEB81 #83ED81
monochromatic
#761ED5 #964BE5 #B581ED #D4B7F5 #EFE4FB

Accessibility & contrast

On white

2.87
#B581ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B581ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581ED
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581ED#FFFFFF#000000##000000
##B581ED1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#AC93AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b581ed;
/* rgb */ color: rgb(181, 129, 237);
/* oklch */ color: oklch(69.8% 0.161 304.8);
Tailwind
colors: {
  custom: {
    50: '#cda6f3',
    500: '#b581ed',
    950: '#000000',
  },
}
SCSS
$custom: #b581ed;
$custom-light: #cda6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b581ed",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 268.889,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.16052,
    "h": 304.8
  },
  "luminance": 0.31639
}

Semantic roles & 50–950 ramp

primary
#B581ED
secondary
#E5F3D7
accent
#D70E76
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B581ED

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

Preview Lab → · Contrast checker → · Palette generator →

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