#B586DF#B586DF

#B586DF is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.135 H 307.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B586DF
RGBrgb(181, 134, 223)
HSLhsl(272, 58%, 70%)
HSVhsv(272, 40%, 87%)
CMYKcmyk(18.8%, 39.9%, 0%, 12.5%)
CIE-LABlab(63.51, 34.76, -38.64)
CIE-LCHlch(63.51, 51.98, 311.97°)
OKLaboklab(69.94% 0.0824 -0.1072)
OKLCHoklch(69.94% 0.135 307.5)
XYZxyz(40.8979, 32.2020, 73.8588)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586DF #B0DF86
analogous
#8886DF #B586DF #DF86DD
triadic
#B586DF #DFB586 #86DFB5
tetradic
#B586DF #DF8886 #B0DF86 #86DDDF
square
#B586DF #DF8886 #B0DF86 #86DDDF
split-complementary
#B586DF #DDDF86 #86DF88
monochromatic
#7931BA #9756D2 #B586DF #D3B6EC #F0E7F9

Accessibility & contrast

On white

2.82
#B586DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B586DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586DF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586DF#FFFFFF#000000##000000
##B586DF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7D9ADD
Tritanopia (blue-blind)
#AF94A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b586df;
/* rgb */ color: rgb(181, 134, 223);
/* oklch */ color: oklch(69.9% 0.135 307.5);
Tailwind
colors: {
  custom: {
    50: '#ccaae9',
    500: '#b586df',
    950: '#000000',
  },
}
SCSS
$custom: #b586df;
$custom-light: #ccaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b586df",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 271.685,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.69942,
    "c": 0.1352,
    "h": 307.5
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

primary
#B586DF
secondary
#E0EDD4
accent
#C6206E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B586DF

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

Preview Lab → · Contrast checker → · Palette generator →

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