#B586FB#B586FB

#B586FB is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.4% C 0.170 H 300.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B586FB
RGBrgb(181, 134, 251)
HSLhsl(264, 94%, 75%)
HSVhsv(264, 47%, 98%)
CMYKcmyk(27.9%, 46.6%, 0%, 1.6%)
CIE-LABlab(64.83, 41.24, -52.01)
CIE-LCHlch(64.83, 66.38, 308.41°)
OKLaboklab(71.37% 0.0868 -0.146)
OKLCHoklch(71.37% 0.17 300.7)
XYZxyz(44.9897, 33.8388, 95.4094)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586FB #CCFB86
analogous
#8691FB #B586FB #F086FB
triadic
#B586FB #FBB586 #86FBB5
tetradic
#B586FB #FB8691 #CCFB86 #86FBF0
square
#B586FB #FB8691 #CCFB86 #86FBF0
split-complementary
#B586FB #FBF086 #91FB86
monochromatic
#6D10F7 #914BF9 #B586FB #D9C1FD #EDE1FE

Accessibility & contrast

On white

2.70
#B586FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B586FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586FB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586FB#FFFFFF#000000##000000
##B586FB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#A89BB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b586fb;
/* rgb */ color: rgb(181, 134, 251);
/* oklch */ color: oklch(71.4% 0.170 300.7);
Tailwind
colors: {
  custom: {
    50: '#ceaafd',
    500: '#b586fb',
    950: '#000000',
  },
}
SCSS
$custom: #b586fb;
$custom-light: #ceaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#b586fb",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 264.103,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.16982,
    "h": 300.7
  },
  "luminance": 0.33839
}

Semantic roles & 50–950 ramp

primary
#B586FB
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B586FB

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

Preview Lab → · Contrast checker → · Palette generator →

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