#B586EB#B586EB

#B586EB is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.150 H 304.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B586EB
RGBrgb(181, 134, 235)
HSLhsl(268, 72%, 72%)
HSVhsv(268, 43%, 92%)
CMYKcmyk(23%, 43%, 0%, 7.8%)
CIE-LABlab(64.06, 37.49, -44.44)
CIE-LCHlch(64.06, 58.14, 310.15°)
OKLaboklab(70.53% 0.0845 -0.1239)
OKLCHoklch(70.53% 0.15 304.3)
XYZxyz(42.5734, 32.8723, 82.6833)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586EB #BCEB86
analogous
#868AEB #B586EB #E886EB
triadic
#B586EB #EBB586 #86EBB5
tetradic
#B586EB #EB868A #BCEB86 #86EBE8
square
#B586EB #EB868A #BCEB86 #86EBE8
split-complementary
#B586EB #EBE886 #8AEB86
monochromatic
#7523D4 #9551E2 #B586EB #D5BBF4 #EFE5FB

Accessibility & contrast

On white

2.77
#B586EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B586EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586EB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586EB#FFFFFF#000000##000000
##B586EB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#AC97AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b586eb;
/* rgb */ color: rgb(181, 134, 235);
/* oklch */ color: oklch(70.5% 0.150 304.3);
Tailwind
colors: {
  custom: {
    50: '#cdaaf2',
    500: '#b586eb',
    950: '#000000',
  },
}
SCSS
$custom: #b586eb;
$custom-light: #cdaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b586eb",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 267.921,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.15002,
    "h": 304.3
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

primary
#B586EB
secondary
#E6F2D9
accent
#D41279
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B586EB

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

Preview Lab → · Contrast checker → · Palette generator →

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