#B586FD#B586FD

#B586FD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.172 H 300.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B586FD
RGBrgb(181, 134, 253)
HSLhsl(264, 97%, 76%)
HSVhsv(264, 47%, 99%)
CMYKcmyk(28.5%, 47%, 0%, 0.8%)
CIE-LABlab(64.94, 41.72, -52.95)
CIE-LCHlch(64.94, 67.41, 308.24°)
OKLaboklab(71.48% 0.087 -0.1487)
OKLCHoklch(71.48% 0.172 300.3)
XYZxyz(45.3067, 33.9656, 97.0786)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586FD #CEFD86
analogous
#8692FD #B586FD #F086FD
triadic
#B586FD #FDB586 #86FDB5
tetradic
#B586FD #FD8692 #CEFD86 #86FDF0
square
#B586FD #FD8692 #CEFD86 #86FDF0
split-complementary
#B586FD #FDF086 #92FD86
monochromatic
#6B0EFB #904AFC #B586FD #DAC2FE #EDE1FF

Accessibility & contrast

On white

2.69
#B586FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B586FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586FD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586FD#FFFFFF#000000##000000
##B586FD1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b586fd;
/* rgb */ color: rgb(181, 134, 253);
/* oklch */ color: oklch(71.5% 0.172 300.3);
Tailwind
colors: {
  custom: {
    50: '#ceaafe',
    500: '#b586fd',
    950: '#000000',
  },
}
SCSS
$custom: #b586fd;
$custom-light: #ceaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b586fd",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 263.697,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.1723,
    "h": 300.3
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#B586FD
secondary
#E9F7D4
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B586FD

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

Preview Lab → · Contrast checker → · Palette generator →

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