#B586F8#B586F8

#B586F8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.166 H 301.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B586F8
RGBrgb(181, 134, 248)
HSLhsl(265, 89%, 75%)
HSVhsv(265, 46%, 97%)
CMYKcmyk(27%, 46%, 0%, 2.7%)
CIE-LABlab(64.68, 40.53, -50.61)
CIE-LCHlch(64.68, 64.84, 308.69°)
OKLaboklab(71.21% 0.0864 -0.1419)
OKLCHoklch(71.21% 0.166 301.3)
XYZxyz(44.5206, 33.6511, 92.9386)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586F8 #C9F886
analogous
#8690F8 #B586F8 #EE86F8
triadic
#B586F8 #F8B586 #86F8B5
tetradic
#B586F8 #F88690 #C9F886 #86F8EE
square
#B586F8 #F88690 #C9F886 #86F8EE
split-complementary
#B586F8 #F8EE86 #90F886
monochromatic
#6E12F1 #924CF5 #B586F8 #D8C0FB #EDE2FD

Accessibility & contrast

On white

2.72
#B586F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B586F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586F8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586F8#FFFFFF#000000##000000
##B586F81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#A89AB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b586f8;
/* rgb */ color: rgb(181, 134, 248);
/* oklch */ color: oklch(71.2% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#ceaafb',
    500: '#b586f8',
    950: '#000000',
  },
}
SCSS
$custom: #b586f8;
$custom-light: #ceaafb;
$custom-dark: #000000;
JSON
{
  "hex": "#b586f8",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 264.737,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7121,
    "c": 0.16612,
    "h": 301.3
  },
  "luminance": 0.33651
}

Semantic roles & 50–950 ramp

primary
#B586F8
secondary
#E8F5D6
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B586F8

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

Preview Lab → · Contrast checker → · Palette generator →

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