#B588F9#B588F9

#B588F9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.164 H 300.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B588F9
RGBrgb(181, 136, 249)
HSLhsl(264, 90%, 75%)
HSVhsv(264, 45%, 98%)
CMYKcmyk(27.3%, 45.4%, 0%, 2.4%)
CIE-LABlab(65.18, 39.67, -50.38)
CIE-LCHlch(65.18, 64.12, 308.22°)
OKLaboklab(71.6% 0.0839 -0.1412)
OKLCHoklch(71.6% 0.164 300.7)
XYZxyz(44.9552, 34.2715, 93.8508)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588F9 #CCF988
analogous
#8893F9 #B588F9 #EE88F9
triadic
#B588F9 #F9B588 #88F9B5
tetradic
#B588F9 #F98893 #CCF988 #88F9EE
square
#B588F9 #F98893 #CCF988 #88F9EE
split-complementary
#B588F9 #F9EE88 #93F988
monochromatic
#6D13F3 #914EF6 #B588F9 #D9C2FC #EDE2FE

Accessibility & contrast

On white

2.67
#B588F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B588F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588F9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588F9#FFFFFF#000000##000000
##B588F91.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#719EF6
Tritanopia (blue-blind)
#A89CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b588f9;
/* rgb */ color: rgb(181, 136, 249);
/* oklch */ color: oklch(71.6% 0.164 300.7);
Tailwind
colors: {
  custom: {
    50: '#ceabfc',
    500: '#b588f9',
    950: '#000000',
  },
}
SCSS
$custom: #b588f9;
$custom-light: #ceabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b588f9",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 263.894,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.16425,
    "h": 300.7
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#B588F9
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B588F9

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

Preview Lab → · Contrast checker → · Palette generator →

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