#8959B2#8959B2

#8959B2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.141 H 307.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8959B2
RGBrgb(137, 89, 178)
HSLhsl(272, 37%, 52%)
HSVhsv(272, 50%, 70%)
CMYKcmyk(23%, 50%, 0%, 30.2%)
CIE-LABlab(46.55, 37.03, -40.00)
CIE-LCHlch(46.55, 54.51, 312.79°)
OKLaboklab(55.45% 0.0854 -0.112)
OKLCHoklch(55.45% 0.141 307.3)
XYZxyz(21.9232, 15.6777, 43.9820)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959B2 #82B259
analogous
#5D59B2 #8959B2 #B259AE
triadic
#8959B2 #B28959 #59B289
tetradic
#8959B2 #B25D59 #82B259 #59AEB2
square
#8959B2 #B25D59 #82B259 #59AEB2
split-complementary
#8959B2 #AEB259 #59B25D
monochromatic
#4A2E63 #6A418D #8959B2 #A783C5 #C4ADD9

Accessibility & contrast

On white

5.08
#8959B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8959B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959B2#FFFFFF#000000##FFFFFF
##8959B21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#83687D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8959b2;
/* rgb */ color: rgb(137, 89, 178);
/* oklch */ color: oklch(55.5% 0.141 307.3);
Tailwind
colors: {
  custom: {
    50: '#ad89c9',
    500: '#8959b2',
    950: '#000000',
  },
}
SCSS
$custom: #8959b2;
$custom-light: #ad89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8959b2",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 272.36,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.1408,
    "h": 307.3
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#8959B2
secondary
#B2C7A0
accent
#CD5B8F
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8959B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8959B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva