#B582EB#B582EB

#B582EB is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.156 H 305.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B582EB
RGBrgb(181, 130, 235)
HSLhsl(269, 72%, 72%)
HSVhsv(269, 45%, 92%)
CMYKcmyk(23%, 44.7%, 0%, 7.8%)
CIE-LABlab(63.17, 39.70, -45.84)
CIE-LCHlch(63.17, 60.64, 310.89°)
OKLaboklab(69.87% 0.09 -0.128)
OKLCHoklch(69.87% 0.156 305.1)
XYZxyz(42.0310, 31.7874, 82.5025)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582EB #B8EB82
analogous
#8284EB #B582EB #EA82EB
triadic
#B582EB #EBB582 #82EBB5
tetradic
#B582EB #EB8284 #B8EB82 #82EBEA
square
#B582EB #EB8284 #B8EB82 #82EBEA
split-complementary
#B582EB #EBEA82 #84EB82
monochromatic
#7721D1 #964DE3 #B582EB #D4B7F3 #EFE5FB

Accessibility & contrast

On white

2.85
#B582EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B582EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582EB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582EB#FFFFFF#000000##000000
##B582EB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#AC94AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b582eb;
/* rgb */ color: rgb(181, 130, 235);
/* oklch */ color: oklch(69.9% 0.156 305.1);
Tailwind
colors: {
  custom: {
    50: '#cda7f2',
    500: '#b582eb',
    950: '#000000',
  },
}
SCSS
$custom: #b582eb;
$custom-light: #cda7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b582eb",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 269.143,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.15648,
    "h": 305.1
  },
  "luminance": 0.31787
}

Semantic roles & 50–950 ramp

primary
#B582EB
secondary
#E5F2D7
accent
#D41176
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B582EB

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

Preview Lab → · Contrast checker → · Palette generator →

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