#B587E8#B587E8

#B587E8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.145 H 304.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B587E8
RGBrgb(181, 135, 232)
HSLhsl(268, 68%, 72%)
HSVhsv(268, 42%, 91%)
CMYKcmyk(22%, 41.8%, 0%, 9%)
CIE-LABlab(64.14, 36.25, -42.64)
CIE-LCHlch(64.14, 55.97, 310.36°)
OKLaboklab(70.55% 0.0826 -0.1188)
OKLCHoklch(70.55% 0.145 304.8)
XYZxyz(42.2825, 32.9781, 80.4662)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587E8 #BAE887
analogous
#878AE8 #B587E8 #E687E8
triadic
#B587E8 #E8B587 #87E8B5
tetradic
#B587E8 #E8878A #BAE887 #87E8E6
square
#B587E8 #E8878A #BAE887 #87E8E6
split-complementary
#B587E8 #E8E687 #8AE887
monochromatic
#7627CD #9554DE #B587E8 #D5BAF2 #EFE5FA

Accessibility & contrast

On white

2.76
#B587E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B587E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587E8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587E8#FFFFFF#000000##000000
##B587E81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#7A9CE5
Tritanopia (blue-blind)
#AD97AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b587e8;
/* rgb */ color: rgb(181, 135, 232);
/* oklch */ color: oklch(70.6% 0.145 304.8);
Tailwind
colors: {
  custom: {
    50: '#cdaaef',
    500: '#b587e8',
    950: '#000000',
  },
}
SCSS
$custom: #b587e8;
$custom-light: #cdaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#b587e8",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 268.454,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70553,
    "c": 0.14467,
    "h": 304.8
  },
  "luminance": 0.32978
}

Semantic roles & 50–950 ramp

primary
#B587E8
secondary
#E6F2D9
accent
#D01678
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B587E8

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

Preview Lab → · Contrast checker → · Palette generator →

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