#8959E5#8959E5

#8959E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.203 H 295.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8959E5
RGBrgb(137, 89, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 61%, 90%)
CMYKcmyk(40.2%, 61.1%, 0%, 10.2%)
CIE-LABlab(49.64, 49.87, -64.34)
CIE-LCHlch(49.64, 81.40, 307.78°)
OKLaboklab(58.72% 0.0864 -0.1833)
OKLCHoklch(58.72% 0.203 295.2)
XYZxyz(28.0280, 18.1197, 76.1343)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959E5 #B5E559
analogous
#596FE5 #8959E5 #CF59E5
triadic
#8959E5 #E58959 #59E589
tetradic
#8959E5 #E5596F #B5E559 #59E5CF
square
#8959E5 #E5596F #B5E559 #59E5CF
split-complementary
#8959E5 #E5CF59 #6FE559
monochromatic
#4B1AA9 #6324DD #8959E5 #AF8EED #D4C3F6

Accessibility & contrast

On white

4.54
#8959E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8959E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959E5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959E5#FFFFFF#000000##000000
##8959E51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#717897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8959e5;
/* rgb */ color: rgb(137, 89, 229);
/* oklch */ color: oklch(58.7% 0.203 295.2);
Tailwind
colors: {
  custom: {
    50: '#b18aee',
    500: '#8959e5',
    950: '#000000',
  },
}
SCSS
$custom: #8959e5;
$custom-light: #b18aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8959e5",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 260.571,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.20267,
    "h": 295.2
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#8959E5
secondary
#D5E6B3
accent
#D51092
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8959E5

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

Preview Lab → · Contrast checker → · Palette generator →

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