#B586F9#B586F9

#B586F9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.167 H 301.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B586F9
RGBrgb(181, 134, 249)
HSLhsl(265, 91%, 75%)
HSVhsv(265, 46%, 98%)
CMYKcmyk(27.3%, 46.2%, 0%, 2.4%)
CIE-LABlab(64.73, 40.77, -51.08)
CIE-LCHlch(64.73, 65.35, 308.60°)
OKLaboklab(71.26% 0.0865 -0.1433)
OKLCHoklch(71.26% 0.167 301.1)
XYZxyz(44.6762, 33.7134, 93.7578)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586F9 #CAF986
analogous
#8690F9 #B586F9 #EF86F9
triadic
#B586F9 #F9B586 #86F9B5
tetradic
#B586F9 #F98690 #CAF986 #86F9EF
square
#B586F9 #F98690 #CAF986 #86F9EF
split-complementary
#B586F9 #F9EF86 #90F986
monochromatic
#6E11F3 #914CF6 #B586F9 #D9C0FC #EDE2FE

Accessibility & contrast

On white

2.71
#B586F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B586F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586F9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586F9#FFFFFF#000000##000000
##B586F91.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#A89BB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b586f9;
/* rgb */ color: rgb(181, 134, 249);
/* oklch */ color: oklch(71.3% 0.167 301.1);
Tailwind
colors: {
  custom: {
    50: '#ceaafc',
    500: '#b586f9',
    950: '#000000',
  },
}
SCSS
$custom: #b586f9;
$custom-light: #ceaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b586f9",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 264.522,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71263,
    "c": 0.16736,
    "h": 301.1
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#B586F9
secondary
#E8F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B586F9

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

Preview Lab → · Contrast checker → · Palette generator →

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