#B588EA#B588EA

#B588EA is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.146 H 304.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B588EA
RGBrgb(181, 136, 234)
HSLhsl(268, 70%, 73%)
HSVhsv(268, 42%, 92%)
CMYKcmyk(22.6%, 41.9%, 0%, 8.2%)
CIE-LABlab(64.46, 36.15, -43.25)
CIE-LCHlch(64.46, 56.37, 309.89°)
OKLaboklab(70.82% 0.0816 -0.1205)
OKLCHoklch(70.82% 0.146 304.1)
XYZxyz(42.7084, 33.3727, 82.0176)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588EA #BDEA88
analogous
#888CEA #B588EA #E688EA
triadic
#B588EA #EAB588 #88EAB5
tetradic
#B588EA #EA888C #BDEA88 #88EAE6
square
#B588EA #EA888C #BDEA88 #88EAE6
split-complementary
#B588EA #EAE688 #8CEA88
monochromatic
#7525D2 #9554E1 #B588EA #D5BCF3 #EFE5FA

Accessibility & contrast

On white

2.74
#B588EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B588EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588EA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588EA#FFFFFF#000000##000000
##B588EA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#AC98AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b588ea;
/* rgb */ color: rgb(181, 136, 234);
/* oklch */ color: oklch(70.8% 0.146 304.1);
Tailwind
colors: {
  custom: {
    50: '#cdabf1',
    500: '#b588ea',
    950: '#000000',
  },
}
SCSS
$custom: #b588ea;
$custom-light: #cdabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b588ea",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 267.551,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.14553,
    "h": 304.1
  },
  "luminance": 0.33373
}

Semantic roles & 50–950 ramp

primary
#B588EA
secondary
#E7F2D9
accent
#D2147B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B588EA

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

Preview Lab → · Contrast checker → · Palette generator →

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