#B582EA#B582EA

#B582EA is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.155 H 305.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B582EA
RGBrgb(181, 130, 234)
HSLhsl(269, 71%, 71%)
HSVhsv(269, 44%, 92%)
CMYKcmyk(22.6%, 44.4%, 0%, 8.2%)
CIE-LABlab(63.12, 39.47, -45.36)
CIE-LCHlch(63.12, 60.13, 311.02°)
OKLaboklab(69.81% 0.0899 -0.1266)
OKLCHoklch(69.81% 0.155 305.4)
XYZxyz(41.8869, 31.7298, 81.7437)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582EA #B7EA82
analogous
#8283EA #B582EA #E982EA
triadic
#B582EA #EAB582 #82EAB5
tetradic
#B582EA #EA8283 #B7EA82 #82EAE9
square
#B582EA #EA8283 #B7EA82 #82EAE9
split-complementary
#B582EA #EAE982 #83EA82
monochromatic
#7723CF #964EE1 #B582EA #D4B6F3 #EFE5FB

Accessibility & contrast

On white

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

On black

7.35
#B582EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582EA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582EA#FFFFFF#000000##000000
##B582EA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#AD93AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b582ea;
/* rgb */ color: rgb(181, 130, 234);
/* oklch */ color: oklch(69.8% 0.155 305.4);
Tailwind
colors: {
  custom: {
    50: '#cda7f1',
    500: '#b582ea',
    950: '#000000',
  },
}
SCSS
$custom: #b582ea;
$custom-light: #cda7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b582ea",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 269.423,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.15526,
    "h": 305.4
  },
  "luminance": 0.3173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B582EA

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

Preview Lab → · Contrast checker → · Palette generator →

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