#B588EC#B588EC

#B588EC is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.148 H 303.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B588EC
RGBrgb(181, 136, 236)
HSLhsl(267, 72%, 73%)
HSVhsv(267, 42%, 93%)
CMYKcmyk(23.3%, 42.4%, 0%, 7.5%)
CIE-LABlab(64.55, 36.61, -44.21)
CIE-LCHlch(64.55, 57.40, 309.63°)
OKLaboklab(70.92% 0.0819 -0.1233)
OKLCHoklch(70.92% 0.148 303.6)
XYZxyz(42.9973, 33.4883, 83.5393)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588EC #BFEC88
analogous
#888DEC #B588EC #E788EC
triadic
#B588EC #ECB588 #88ECB5
tetradic
#B588EC #EC888D #BFEC88 #88ECE7
square
#B588EC #EC888D #BFEC88 #88ECE7
split-complementary
#B588EC #ECE788 #8DEC88
monochromatic
#7422D7 #9453E4 #B588EC #D6BDF4 #EFE5FB

Accessibility & contrast

On white

2.73
#B588EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B588EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588EC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588EC#FFFFFF#000000##000000
##B588EC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BF0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#AC99AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b588ec;
/* rgb */ color: rgb(181, 136, 236);
/* oklch */ color: oklch(70.9% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#cdabf2',
    500: '#b588ec',
    950: '#000000',
  },
}
SCSS
$custom: #b588ec;
$custom-light: #cdabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b588ec",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 267,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.14803,
    "h": 303.6
  },
  "luminance": 0.33488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B588EC

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

Preview Lab → · Contrast checker → · Palette generator →

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