#B588EF#B588EF

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

Color values

HEX#B588EF
RGBrgb(181, 136, 239)
HSLhsl(266, 76%, 74%)
HSVhsv(266, 43%, 94%)
CMYKcmyk(24.3%, 43.1%, 0%, 6.3%)
CIE-LABlab(64.70, 37.31, -45.64)
CIE-LCHlch(64.70, 58.95, 309.26°)
OKLaboklab(71.08% 0.0824 -0.1274)
OKLCHoklch(71.08% 0.152 302.9)
XYZxyz(43.4368, 33.6641, 85.8541)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588EF #C2EF88
analogous
#888EEF #B588EF #E988EF
triadic
#B588EF #EFB588 #88EFB5
tetradic
#B588EF #EF888E #C2EF88 #88EFE9
square
#B588EF #EF888E #C2EF88 #88EFE9
split-complementary
#B588EF #EFE988 #8EEF88
monochromatic
#721EDF #9352E8 #B588EF #D7BEF6 #EEE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B588EF#FFFFFF#000000##000000
##B588EF1.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)
#6D9CF3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#AB99B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b588ef;
/* rgb */ color: rgb(181, 136, 239);
/* oklch */ color: oklch(71.1% 0.152 302.9);
Tailwind
colors: {
  custom: {
    50: '#cdabf4',
    500: '#b588ef',
    950: '#000000',
  },
}
SCSS
$custom: #b588ef;
$custom-light: #cdabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b588ef",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 266.214,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.15177,
    "h": 302.9
  },
  "luminance": 0.33664
}

Semantic roles & 50–950 ramp

primary
#B588EF
secondary
#E7F3D8
accent
#D80D80
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B588EF

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

Preview Lab → · Contrast checker → · Palette generator →

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