#B588F8#B588F8

#B588F8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.163 H 300.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B588F8
RGBrgb(181, 136, 248)
HSLhsl(264, 89%, 75%)
HSVhsv(264, 45%, 97%)
CMYKcmyk(27%, 45.2%, 0%, 2.7%)
CIE-LABlab(65.13, 39.43, -49.91)
CIE-LCHlch(65.13, 63.60, 308.31°)
OKLaboklab(71.54% 0.0837 -0.1398)
OKLCHoklch(71.54% 0.163 300.9)
XYZxyz(44.7996, 34.2092, 93.0316)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588F8 #CBF888
analogous
#8893F8 #B588F8 #ED88F8
triadic
#B588F8 #F8B588 #88F8B5
tetradic
#B588F8 #F88893 #CBF888 #88F8ED
square
#B588F8 #F88893 #CBF888 #88F8ED
split-complementary
#B588F8 #F8ED88 #93F888
monochromatic
#6D14F1 #914EF5 #B588F8 #D9C2FB #EDE2FD

Accessibility & contrast

On white

2.68
#B588F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B588F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588F8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588F8#FFFFFF#000000##000000
##B588F81.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#A89CB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b588f8;
/* rgb */ color: rgb(181, 136, 248);
/* oklch */ color: oklch(71.5% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#cdabfb',
    500: '#b588f8',
    950: '#000000',
  },
}
SCSS
$custom: #b588f8;
$custom-light: #cdabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b588f8",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 264.107,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71542,
    "c": 0.163,
    "h": 300.9
  },
  "luminance": 0.34209
}

Semantic roles & 50–950 ramp

primary
#B588F8
secondary
#E9F5D6
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B588F8

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

Preview Lab → · Contrast checker → · Palette generator →

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