#B581EE#B581EE

#B581EE is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.162 H 304.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B581EE
RGBrgb(181, 129, 238)
HSLhsl(269, 76%, 72%)
HSVhsv(269, 46%, 93%)
CMYKcmyk(23.9%, 45.8%, 0%, 6.7%)
CIE-LABlab(63.09, 40.94, -47.62)
CIE-LCHlch(63.09, 62.79, 310.69°)
OKLaboklab(69.86% 0.0918 -0.1332)
OKLCHoklch(69.86% 0.162 304.6)
XYZxyz(42.3357, 31.6975, 84.7602)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581EE #BAEE81
analogous
#8184EE #B581EE #EC81EE
triadic
#B581EE #EEB581 #81EEB5
tetradic
#B581EE #EE8184 #BAEE81 #81EEEC
square
#B581EE #EE8184 #BAEE81 #81EEEC
split-complementary
#B581EE #EEEC81 #84EE81
monochromatic
#761DD8 #954BE7 #B581EE #D5B7F5 #EFE4FB

Accessibility & contrast

On white

2.86
#B581EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B581EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581EE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581EE#FFFFFF#000000##000000
##B581EE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#AC94AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b581ee;
/* rgb */ color: rgb(181, 129, 238);
/* oklch */ color: oklch(69.9% 0.162 304.6);
Tailwind
colors: {
  custom: {
    50: '#cda6f4',
    500: '#b581ee',
    950: '#000000',
  },
}
SCSS
$custom: #b581ee;
$custom-light: #cda6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b581ee",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 268.624,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69857,
    "c": 0.16173,
    "h": 304.6
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

primary
#B581EE
secondary
#E6F3D8
accent
#D80D77
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B581EE

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

Preview Lab → · Contrast checker → · Palette generator →

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