#B586EE#B586EE

#B586EE is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.154 H 303.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B586EE
RGBrgb(181, 134, 238)
HSLhsl(267, 75%, 73%)
HSVhsv(267, 44%, 93%)
CMYKcmyk(23.9%, 43.7%, 0%, 6.7%)
CIE-LABlab(64.20, 38.18, -45.87)
CIE-LCHlch(64.20, 59.68, 309.77°)
OKLaboklab(70.69% 0.085 -0.1281)
OKLCHoklch(70.69% 0.154 303.6)
XYZxyz(43.0105, 33.0471, 84.9852)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586EE #BFEE86
analogous
#868BEE #B586EE #E986EE
triadic
#B586EE #EEB586 #86EEB5
tetradic
#B586EE #EE868B #BFEE86 #86EEE9
square
#B586EE #EE868B #BFEE86 #86EEE9
split-complementary
#B586EE #EEE986 #8BEE86
monochromatic
#741FDB #9450E6 #B586EE #D6BCF6 #EFE4FB

Accessibility & contrast

On white

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

On black

7.61
#B586EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586EE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586EE#FFFFFF#000000##000000
##B586EE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#AB98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b586ee;
/* rgb */ color: rgb(181, 134, 238);
/* oklch */ color: oklch(70.7% 0.154 303.6);
Tailwind
colors: {
  custom: {
    50: '#cdaaf4',
    500: '#b586ee',
    950: '#000000',
  },
}
SCSS
$custom: #b586ee;
$custom-light: #cdaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b586ee",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 267.115,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70687,
    "c": 0.15373,
    "h": 303.6
  },
  "luminance": 0.33047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B586EE

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

Preview Lab → · Contrast checker → · Palette generator →

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