#8959CA#8959CA

#8959CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.170 H 300.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8959CA
RGBrgb(137, 89, 202)
HSLhsl(265, 52%, 57%)
HSVhsv(265, 56%, 79%)
CMYKcmyk(32.2%, 55.9%, 0%, 20.8%)
CIE-LABlab(47.91, 42.92, -51.74)
CIE-LCHlch(47.91, 67.23, 309.67°)
OKLaboklab(56.91% 0.0869 -0.1463)
OKLCHoklch(56.91% 0.17 300.7)
XYZxyz(24.5471, 16.7273, 57.8011)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959CA #9ACA59
analogous
#5962CA #8959CA #C259CA
triadic
#8959CA #CA8959 #59CA89
tetradic
#8959CA #CA5962 #9ACA59 #59CAC2
square
#8959CA #CA5962 #9ACA59 #59CAC2
split-complementary
#8959CA #CAC259 #62CA59
monochromatic
#4E2980 #6A38AE #8959CA #AA87D9 #CBB6E8

Accessibility & contrast

On white

4.83
#8959CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8959CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959CA#FFFFFF#000000##FFFFFF
##8959CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#7C7089
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8959ca;
/* rgb */ color: rgb(137, 89, 202);
/* oklch */ color: oklch(56.9% 0.170 300.7);
Tailwind
colors: {
  custom: {
    50: '#af8adb',
    500: '#8959ca',
    950: '#000000',
  },
}
SCSS
$custom: #8959ca;
$custom-light: #af8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8959ca",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 265.487,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.17019,
    "h": 300.7
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#8959CA
secondary
#C3D6A8
accent
#DB4D9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8959CA

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

Preview Lab → · Contrast checker → · Palette generator →

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