#8959CE#8959CE

#8959CE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.175 H 299.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8959CE
RGBrgb(137, 89, 206)
HSLhsl(265, 54%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.5%, 56.8%, 0%, 19.2%)
CIE-LABlab(48.16, 43.93, -53.65)
CIE-LCHlch(48.16, 69.34, 309.31°)
OKLaboklab(57.16% 0.087 -0.1519)
OKLCHoklch(57.16% 0.175 299.8)
XYZxyz(25.0268, 16.9192, 60.3278)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959CE #9ECE59
analogous
#5963CE #8959CE #C359CE
triadic
#8959CE #CE8959 #59CE89
tetradic
#8959CE #CE5963 #9ECE59 #59CEC3
square
#8959CE #CE5963 #9ECE59 #59CEC3
split-complementary
#8959CE #CEC359 #63CE59
monochromatic
#4E2785 #6935B5 #8959CE #AB88DC #CCB8EA

Accessibility & contrast

On white

4.79
#8959CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8959CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959CE#FFFFFF#000000##FFFFFF
##8959CE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#7A718B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8959ce;
/* rgb */ color: rgb(137, 89, 206);
/* oklch */ color: oklch(57.2% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#af8ade',
    500: '#8959ce',
    950: '#000000',
  },
}
SCSS
$custom: #8959ce;
$custom-light: #af8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8959ce",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 264.615,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.17506,
    "h": 299.8
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#8959CE
secondary
#C6D9AA
accent
#DE4AA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8959CE

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

Preview Lab → · Contrast checker → · Palette generator →

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