#B582EF#B582EF

#B582EF is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.161 H 304.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B582EF
RGBrgb(181, 130, 239)
HSLhsl(268, 77%, 72%)
HSVhsv(268, 46%, 94%)
CMYKcmyk(24.3%, 45.6%, 0%, 6.3%)
CIE-LABlab(63.36, 40.62, -47.74)
CIE-LCHlch(63.36, 62.68, 310.39°)
OKLaboklab(70.07% 0.0906 -0.1335)
OKLCHoklch(70.07% 0.161 304.1)
XYZxyz(42.6154, 32.0212, 85.5803)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582EF #BCEF82
analogous
#8286EF #B582EF #EB82EF
triadic
#B582EF #EFB582 #82EFB5
tetradic
#B582EF #EF8286 #BCEF82 #82EFEB
square
#B582EF #EF8286 #BCEF82 #82EFEB
split-complementary
#B582EF #EFEB82 #86EF82
monochromatic
#751CDB #954CE8 #B582EF #D5B8F6 #EFE4FC

Accessibility & contrast

On white

2.84
#B582EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B582EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582EF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582EF#FFFFFF#000000##000000
##B582EF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#AB95AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b582ef;
/* rgb */ color: rgb(181, 130, 239);
/* oklch */ color: oklch(70.1% 0.161 304.1);
Tailwind
colors: {
  custom: {
    50: '#cda7f5',
    500: '#b582ef',
    950: '#000000',
  },
}
SCSS
$custom: #b582ef;
$custom-light: #cda7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b582ef",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 268.073,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.16136,
    "h": 304.1
  },
  "luminance": 0.32021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B582EF

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

Preview Lab → · Contrast checker → · Palette generator →

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