#B589F0#B589F0

#B589F0 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.151 H 302.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B589F0
RGBrgb(181, 137, 240)
HSLhsl(266, 77%, 74%)
HSVhsv(266, 43%, 94%)
CMYKcmyk(24.6%, 42.9%, 0%, 5.9%)
CIE-LABlab(64.97, 36.99, -45.76)
CIE-LCHlch(64.97, 58.84, 308.95°)
OKLaboklab(71.3% 0.0812 -0.1278)
OKLCHoklch(71.3% 0.151 302.4)
XYZxyz(43.7265, 34.0063, 86.6814)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B589F0 #C4F089
analogous
#8991F0 #B589F0 #E989F0
triadic
#B589F0 #F0B589 #89F0B5
tetradic
#B589F0 #F08991 #C4F089 #89F0E9
square
#B589F0 #F08991 #C4F089 #89F0E9
split-complementary
#B589F0 #F0E989 #91F089
monochromatic
#711DE2 #9353E9 #B589F0 #D7BFF7 #EEE4FC

Accessibility & contrast

On white

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

On black

7.80
#B589F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B589F0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B589F0#FFFFFF#000000##000000
##B589F01.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF4
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#AB9AB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b589f0;
/* rgb */ color: rgb(181, 137, 240);
/* oklch */ color: oklch(71.3% 0.151 302.4);
Tailwind
colors: {
  custom: {
    50: '#cdacf5',
    500: '#b589f0',
    950: '#000000',
  },
}
SCSS
$custom: #b589f0;
$custom-light: #cdacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b589f0",
  "rgb": {
    "r": 181,
    "g": 137,
    "b": 240
  },
  "hsl": {
    "h": 265.631,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.15143,
    "h": 302.4
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#B589F0
secondary
#E8F3D8
accent
#DA0C82
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B589F0

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

Preview Lab → · Contrast checker → · Palette generator →

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