#8959CC#8959CC

#8959CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.173 H 300.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8959CC
RGBrgb(137, 89, 204)
HSLhsl(265, 53%, 57%)
HSVhsv(265, 56%, 80%)
CMYKcmyk(32.8%, 56.4%, 0%, 20%)
CIE-LABlab(48.04, 43.42, -52.70)
CIE-LCHlch(48.04, 68.28, 309.49°)
OKLaboklab(57.03% 0.087 -0.1491)
OKLCHoklch(57.03% 0.173 300.2)
XYZxyz(24.7854, 16.8226, 59.0563)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959CC #9CCC59
analogous
#5963CC #8959CC #C259CC
triadic
#8959CC #CC8959 #59CC89
tetradic
#8959CC #CC5963 #9CCC59 #59CCC2
square
#8959CC #CC5963 #9CCC59 #59CCC2
split-complementary
#8959CC #CCC259 #63CC59
monochromatic
#4E2883 #6A36B1 #8959CC #AA88DA #CCB7E9

Accessibility & contrast

On white

4.81
#8959CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8959CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959CC#FFFFFF#000000##FFFFFF
##8959CC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#7B708A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8959cc;
/* rgb */ color: rgb(137, 89, 204);
/* oklch */ color: oklch(57.0% 0.173 300.2);
Tailwind
colors: {
  custom: {
    50: '#af8adc',
    500: '#8959cc',
    950: '#000000',
  },
}
SCSS
$custom: #8959cc;
$custom-light: #af8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8959cc",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 265.043,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.17263,
    "h": 300.2
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#8959CC
secondary
#C4D8A9
accent
#DC4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8959CC

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

Preview Lab → · Contrast checker → · Palette generator →

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