#B587FF#B587FF

#B587FF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.8% C 0.173 H 299.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B587FF
RGBrgb(181, 135, 255)
HSLhsl(263, 100%, 76%)
HSVhsv(263, 47%, 100%)
CMYKcmyk(29%, 47.1%, 0%, 0%)
CIE-LABlab(65.26, 41.65, -53.54)
CIE-LCHlch(65.26, 67.83, 307.88°)
OKLaboklab(71.75% 0.0859 -0.1504)
OKLCHoklch(71.75% 0.173 299.7)
XYZxyz(45.7658, 34.3714, 98.8116)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FF #D1FF87
analogous
#8795FF #B587FF #F187FF
triadic
#B587FF #FFB587 #87FFB5
tetradic
#B587FF #FF8795 #D1FF87 #87FFF1
square
#B587FF #FF8795 #D1FF87 #87FFF1
split-complementary
#B587FF #FFF187 #95FF87
monochromatic
#6A0DFF #8F4AFF #B587FF #DBC4FF #ECE0FF

Accessibility & contrast

On white

2.67
#B587FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B587FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FF#FFFFFF#000000##000000
##B587FF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#6C9EFC
Tritanopia (blue-blind)
#A69DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b587ff;
/* rgb */ color: rgb(181, 135, 255);
/* oklch */ color: oklch(71.8% 0.173 299.7);
Tailwind
colors: {
  custom: {
    50: '#ceabff',
    500: '#b587ff',
    950: '#000000',
  },
}
SCSS
$custom: #b587ff;
$custom-light: #ceabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ff",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 263,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71752,
    "c": 0.17324,
    "h": 299.7
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

primary
#B587FF
secondary
#EAF7D4
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B587FF

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

Preview Lab → · Contrast checker → · Palette generator →

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