#8959D5#8959D5

#8959D5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.184 H 298.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8959D5
RGBrgb(137, 89, 213)
HSLhsl(263, 60%, 59%)
HSVhsv(263, 58%, 84%)
CMYKcmyk(35.7%, 58.2%, 0%, 16.5%)
CIE-LABlab(48.59, 45.72, -56.95)
CIE-LCHlch(48.59, 73.03, 308.76°)
OKLaboklab(57.62% 0.087 -0.1616)
OKLCHoklch(57.62% 0.184 298.3)
XYZxyz(25.8962, 17.2669, 64.9064)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959D5 #A5D559
analogous
#5967D5 #8959D5 #C759D5
triadic
#8959D5 #D58959 #59D589
tetradic
#8959D5 #D55967 #A5D559 #59D5C7
square
#8959D5 #D55967 #A5D559 #59D5C7
split-complementary
#8959D5 #D5C759 #67D559
monochromatic
#4E248F #6831C0 #8959D5 #AC8AE1 #CEBBEE

Accessibility & contrast

On white

4.72
#8959D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8959D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959D5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959D5#FFFFFF#000000##FFFFFF
##8959D51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#78738E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8959d5;
/* rgb */ color: rgb(137, 89, 213);
/* oklch */ color: oklch(57.6% 0.184 298.3);
Tailwind
colors: {
  custom: {
    50: '#b08ae3',
    500: '#8959d5',
    950: '#000000',
  },
}
SCSS
$custom: #8959d5;
$custom-light: #b08ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8959d5",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 263.226,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.18354,
    "h": 298.3
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#8959D5
secondary
#CADDAD
accent
#E345A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8959D5

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

Preview Lab → · Contrast checker → · Palette generator →

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