#B586EF#B586EF

#B586EF is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.155 H 303.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B586EF
RGBrgb(181, 134, 239)
HSLhsl(267, 77%, 73%)
HSVhsv(267, 44%, 94%)
CMYKcmyk(24.3%, 43.9%, 0%, 6.3%)
CIE-LABlab(64.25, 38.42, -46.35)
CIE-LCHlch(64.25, 60.20, 309.65°)
OKLaboklab(70.74% 0.0851 -0.1295)
OKLCHoklch(70.74% 0.155 303.3)
XYZxyz(43.1578, 33.1060, 85.7611)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586EF #C0EF86
analogous
#868BEF #B586EF #E986EF
triadic
#B586EF #EFB586 #86EFB5
tetradic
#B586EF #EF868B #C0EF86 #86EFE9
square
#B586EF #EF868B #C0EF86 #86EFE9
split-complementary
#B586EF #EFE986 #8BEF86
monochromatic
#731DDD #9450E8 #B586EF #D6BCF6 #EEE4FB

Accessibility & contrast

On white

2.76
#B586EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B586EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586EF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586EF#FFFFFF#000000##000000
##B586EF1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#AB98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b586ef;
/* rgb */ color: rgb(181, 134, 239);
/* oklch */ color: oklch(70.7% 0.155 303.3);
Tailwind
colors: {
  custom: {
    50: '#cdaaf4',
    500: '#b586ef',
    950: '#000000',
  },
}
SCSS
$custom: #b586ef;
$custom-light: #cdaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b586ef",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 266.857,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70738,
    "c": 0.15498,
    "h": 303.3
  },
  "luminance": 0.33106
}

Semantic roles & 50–950 ramp

primary
#B586EF
secondary
#E7F3D8
accent
#D90D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B586EF

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

Preview Lab → · Contrast checker → · Palette generator →

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