#B586FC#B586FC

#B586FC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.4% C 0.171 H 300.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B586FC
RGBrgb(181, 134, 252)
HSLhsl(264, 95%, 76%)
HSVhsv(264, 47%, 99%)
CMYKcmyk(28.2%, 46.8%, 0%, 1.2%)
CIE-LABlab(64.88, 41.48, -52.48)
CIE-LCHlch(64.88, 66.90, 308.32°)
OKLaboklab(71.43% 0.0869 -0.1474)
OKLCHoklch(71.43% 0.171 300.5)
XYZxyz(45.1478, 33.9020, 96.2418)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B586FC #CDFC86
analogous
#8692FC #B586FC #F086FC
triadic
#B586FC #FCB586 #86FCB5
tetradic
#B586FC #FC8692 #CDFC86 #86FCF0
square
#B586FC #FC8692 #CDFC86 #86FCF0
split-complementary
#B586FC #FCF086 #92FC86
monochromatic
#6C0FF9 #904AFB #B586FC #DAC2FD #EDE1FE

Accessibility & contrast

On white

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

On black

7.78
#B586FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B586FC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B586FC#FFFFFF#000000##000000
##B586FC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A79BB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b586fc;
/* rgb */ color: rgb(181, 134, 252);
/* oklch */ color: oklch(71.4% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#ceaafe',
    500: '#b586fc',
    950: '#000000',
  },
}
SCSS
$custom: #b586fc;
$custom-light: #ceaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b586fc",
  "rgb": {
    "r": 181,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 263.898,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71425,
    "c": 0.17106,
    "h": 300.5
  },
  "luminance": 0.33902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B586FC

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

Preview Lab → · Contrast checker → · Palette generator →

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