#B589FE#B589FE

#B589FE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.169 H 299.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B589FE
RGBrgb(181, 137, 254)
HSLhsl(263, 98%, 77%)
HSVhsv(263, 46%, 100%)
CMYKcmyk(28.7%, 46.1%, 0%, 0.4%)
CIE-LABlab(65.65, 40.31, -52.37)
CIE-LCHlch(65.65, 66.09, 307.59°)
OKLaboklab(72.03% 0.0832 -0.147)
OKLCHoklch(72.03% 0.169 299.5)
XYZxyz(45.8869, 34.8705, 98.0599)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B589FE #D2FE89
analogous
#8998FE #B589FE #EF89FE
triadic
#B589FE #FEB589 #89FEB5
tetradic
#B589FE #FE8998 #D2FE89 #89FEEF
square
#B589FE #FE8998 #D2FE89 #89FEEF
split-complementary
#B589FE #FEEF89 #98FE89
monochromatic
#6910FD #8F4CFD #B589FE #DBC6FF #ECE1FF

Accessibility & contrast

On white

2.63
#B589FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B589FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B589FE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B589FE#FFFFFF#000000##000000
##B589FE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#A69EB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b589fe;
/* rgb */ color: rgb(181, 137, 254);
/* oklch */ color: oklch(72.0% 0.169 299.5);
Tailwind
colors: {
  custom: {
    50: '#ceacff',
    500: '#b589fe',
    950: '#000000',
  },
}
SCSS
$custom: #b589fe;
$custom-light: #ceacff;
$custom-dark: #000000;
JSON
{
  "hex": "#b589fe",
  "rgb": {
    "r": 181,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 262.564,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.16893,
    "h": 299.5
  },
  "luminance": 0.34871
}

Semantic roles & 50–950 ramp

primary
#B589FE
secondary
#EAF7D4
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B589FE

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

Preview Lab → · Contrast checker → · Palette generator →

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