#B581EA#B581EA

#B581EA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.157 H 305.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B581EA
RGBrgb(181, 129, 234)
HSLhsl(270, 71%, 71%)
HSVhsv(270, 45%, 92%)
CMYKcmyk(22.6%, 44.9%, 0%, 8.2%)
CIE-LABlab(62.90, 40.02, -45.71)
CIE-LCHlch(62.90, 60.75, 311.20°)
OKLaboklab(69.65% 0.0912 -0.1276)
OKLCHoklch(69.65% 0.157 305.6)
XYZxyz(41.7545, 31.4650, 81.6996)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581EA #B6EA81
analogous
#8181EA #B581EA #E981EA
triadic
#B581EA #EAB581 #81EAB5
tetradic
#B581EA #EA8181 #B6EA81 #81EAE9
square
#B581EA #EA8181 #B6EA81 #81EAE9
split-complementary
#B581EA #EAE981 #81EA81
monochromatic
#7722CE #964DE1 #B581EA #D4B5F3 #F0E5FB

Accessibility & contrast

On white

2.88
#B581EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B581EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581EA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581EA#FFFFFF#000000##000000
##B581EA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#AD92AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b581ea;
/* rgb */ color: rgb(181, 129, 234);
/* oklch */ color: oklch(69.6% 0.157 305.6);
Tailwind
colors: {
  custom: {
    50: '#cda6f1',
    500: '#b581ea',
    950: '#000000',
  },
}
SCSS
$custom: #b581ea;
$custom-light: #cda6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b581ea",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 269.714,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69649,
    "c": 0.15688,
    "h": 305.6
  },
  "luminance": 0.31465
}

Semantic roles & 50–950 ramp

primary
#B581EA
secondary
#E4F1D6
accent
#D31274
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B581EA

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

Preview Lab → · Contrast checker → · Palette generator →

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