#B586EA#B586EA

#B586EA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.149 H 304.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B586EA
RGBrgb(181, 134, 234)
HSLhsl(268, 70%, 72%)
HSVhsv(268, 43%, 92%)
CMYKcmyk(22.6%, 42.7%, 0%, 8.2%)
CIE-LABlab(64.01, 37.26, -43.96)
CIE-LCHlch(64.01, 57.62, 310.28°)
OKLaboklab(70.48% 0.0844 -0.1226)
OKLCHoklch(70.48% 0.149 304.5)
XYZxyz(42.4293, 32.8146, 81.9246)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586EA #BBEA86
analogous
#8689EA #B586EA #E786EA
triadic
#B586EA #EAB586 #86EAB5
tetradic
#B586EA #EA8689 #BBEA86 #86EAE7
square
#B586EA #EA8689 #BBEA86 #86EAE7
split-complementary
#B586EA #EAE786 #89EA86
monochromatic
#7624D1 #9552E1 #B586EA #D5BAF3 #EFE5FA

Accessibility & contrast

On white

2.78
#B586EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B586EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586EA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586EA#FFFFFF#000000##000000
##B586EA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#AC96AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b586ea;
/* rgb */ color: rgb(181, 134, 234);
/* oklch */ color: oklch(70.5% 0.149 304.5);
Tailwind
colors: {
  custom: {
    50: '#cdaaf1',
    500: '#b586ea',
    950: '#000000',
  },
}
SCSS
$custom: #b586ea;
$custom-light: #cdaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b586ea",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 268.2,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70484,
    "c": 0.14878,
    "h": 304.5
  },
  "luminance": 0.32814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B586EA

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

Preview Lab → · Contrast checker → · Palette generator →

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