#8959DC#8959DC

#8959DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.192 H 296.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8959DC
RGBrgb(137, 89, 220)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(37.7%, 59.5%, 0%, 13.7%)
CIE-LABlab(49.04, 47.52, -60.21)
CIE-LCHlch(49.04, 76.71, 308.28°)
OKLaboklab(58.1% 0.0868 -0.1712)
OKLCHoklch(58.1% 0.192 296.9)
XYZxyz(26.8039, 17.6300, 69.6870)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959DC #ACDC59
analogous
#596ADC #8959DC #CB59DC
triadic
#8959DC #DC8959 #59DC89
tetradic
#8959DC #DC596A #ACDC59 #59DCCB
square
#8959DC #DC596A #ACDC59 #59DCCB
split-complementary
#8959DC #DCCB59 #6ADC59
monochromatic
#4D209A #662BCD #8959DC #AD8CE7 #D1BEF1

Accessibility & contrast

On white

4.64
#8959DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8959DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8959DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959DC#FFFFFF#000000##FFFFFF
##8959DC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#757592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8959dc;
/* rgb */ color: rgb(137, 89, 220);
/* oklch */ color: oklch(58.1% 0.192 296.9);
Tailwind
colors: {
  custom: {
    50: '#b08ae8',
    500: '#8959dc',
    950: '#000000',
  },
}
SCSS
$custom: #8959dc;
$custom-light: #b08ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8959dc",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 261.985,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.19195,
    "h": 296.9
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#8959DC
secondary
#CFE1AF
accent
#CD188B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8959DC

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

Preview Lab → · Contrast checker → · Palette generator →

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