#B588F6#B588F6

#B588F6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.161 H 301.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B588F6
RGBrgb(181, 136, 246)
HSLhsl(265, 86%, 75%)
HSVhsv(265, 45%, 96%)
CMYKcmyk(26.4%, 44.7%, 0%, 3.5%)
CIE-LABlab(65.03, 38.95, -48.96)
CIE-LCHlch(65.03, 62.57, 308.51°)
OKLaboklab(71.44% 0.0835 -0.1371)
OKLCHoklch(71.44% 0.161 301.3)
XYZxyz(44.4910, 34.0858, 91.4062)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588F6 #C9F688
analogous
#8892F6 #B588F6 #EC88F6
triadic
#B588F6 #F6B588 #88F6B5
tetradic
#B588F6 #F68892 #C9F688 #88F6EC
square
#B588F6 #F68892 #C9F688 #88F6EC
split-complementary
#B588F6 #F6EC88 #92F688
monochromatic
#6E16ED #924FF2 #B588F6 #D8C1FA #EDE3FD

Accessibility & contrast

On white

2.69
#B588F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B588F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588F6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588F6#FFFFFF#000000##000000
##B588F61.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#A99BB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b588f6;
/* rgb */ color: rgb(181, 136, 246);
/* oklch */ color: oklch(71.4% 0.161 301.3);
Tailwind
colors: {
  custom: {
    50: '#cdabf9',
    500: '#b588f6',
    950: '#000000',
  },
}
SCSS
$custom: #b588f6;
$custom-light: #cdabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b588f6",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 264.545,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71437,
    "c": 0.16051,
    "h": 301.3
  },
  "luminance": 0.34086
}

Semantic roles & 50–950 ramp

primary
#B588F6
secondary
#E8F5D6
accent
#E20387
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B588F6

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

Preview Lab → · Contrast checker → · Palette generator →

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