#B586FE#B586FE

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

Color values

HEX#B586FE
RGBrgb(181, 134, 254)
HSLhsl(264, 98%, 76%)
HSVhsv(264, 47%, 100%)
CMYKcmyk(28.7%, 47.2%, 0%, 0.4%)
CIE-LABlab(64.99, 41.96, -53.42)
CIE-LCHlch(64.99, 67.93, 308.15°)
OKLaboklab(71.53% 0.0871 -0.1501)
OKLCHoklch(71.53% 0.174 300.1)
XYZxyz(45.4664, 34.0295, 97.9197)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586FE #CFFE86
analogous
#8693FE #B586FE #F186FE
triadic
#B586FE #FEB586 #86FEB5
tetradic
#B586FE #FE8693 #CFFE86 #86FEF1
square
#B586FE #FE8693 #CFFE86 #86FEF1
split-complementary
#B586FE #FEF186 #93FE86
monochromatic
#6B0DFD #9049FD #B586FE #DAC3FF #ECE1FF

Accessibility & contrast

On white

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

On black

7.81
#B586FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586FE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586FE#FFFFFF#000000##000000
##B586FE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b586fe;
/* rgb */ color: rgb(181, 134, 254);
/* oklch */ color: oklch(71.5% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#ceaaff',
    500: '#b586fe',
    950: '#000000',
  },
}
SCSS
$custom: #b586fe;
$custom-light: #ceaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b586fe",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 263.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.17353,
    "h": 300.1
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B586FE

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

Preview Lab → · Contrast checker → · Palette generator →

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