#B588F7#B588F7

#B588F7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.162 H 301.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B588F7
RGBrgb(181, 136, 247)
HSLhsl(264, 87%, 75%)
HSVhsv(264, 45%, 97%)
CMYKcmyk(26.7%, 44.9%, 0%, 3.1%)
CIE-LABlab(65.08, 39.19, -49.43)
CIE-LCHlch(65.08, 63.08, 308.41°)
OKLaboklab(71.49% 0.0836 -0.1385)
OKLCHoklch(71.49% 0.162 301.1)
XYZxyz(44.6449, 34.1473, 92.2167)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B588F7 #CAF788
analogous
#8893F7 #B588F7 #EC88F7
triadic
#B588F7 #F7B588 #88F7B5
tetradic
#B588F7 #F78893 #CAF788 #88F7EC
square
#B588F7 #F78893 #CAF788 #88F7EC
split-complementary
#B588F7 #F7EC88 #93F788
monochromatic
#6E15EF #914FF3 #B588F7 #D9C1FB #EDE2FD

Accessibility & contrast

On white

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

On black

7.83
#B588F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B588F7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B588F7#FFFFFF#000000##000000
##B588F71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#A99CB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b588f7;
/* rgb */ color: rgb(181, 136, 247);
/* oklch */ color: oklch(71.5% 0.162 301.1);
Tailwind
colors: {
  custom: {
    50: '#cdabfa',
    500: '#b588f7',
    950: '#000000',
  },
}
SCSS
$custom: #b588f7;
$custom-light: #cdabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b588f7",
  "rgb": {
    "r": 181,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 264.324,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.16176,
    "h": 301.1
  },
  "luminance": 0.34147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B588F7

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

Preview Lab → · Contrast checker → · Palette generator →

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