#8959E4#8959E4

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

Color values

HEX#8959E4
RGBrgb(137, 89, 228)
HSLhsl(261, 72%, 62%)
HSVhsv(261, 61%, 89%)
CMYKcmyk(39.9%, 61%, 0%, 10.6%)
CIE-LABlab(49.57, 49.61, -63.89)
CIE-LCHlch(49.57, 80.88, 307.83°)
OKLaboklab(58.65% 0.0864 -0.182)
OKLCHoklch(58.65% 0.201 295.4)
XYZxyz(27.8888, 18.0640, 75.4011)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959E4 #B4E459
analogous
#596FE4 #8959E4 #CE59E4
triadic
#8959E4 #E48959 #59E489
tetradic
#8959E4 #E4596F #B4E459 #59E4CE
square
#8959E4 #E4596F #B4E459 #59E4CE
split-complementary
#8959E4 #E4CE59 #6FE459
monochromatic
#4C1BA7 #6424DB #8959E4 #AE8EED #D4C2F5

Accessibility & contrast

On white

4.55
#8959E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8959E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959E4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959E4#FFFFFF#000000##000000
##8959E41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0374E1
Tritanopia (blue-blind)
#727896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8959e4;
/* rgb */ color: rgb(137, 89, 228);
/* oklch */ color: oklch(58.7% 0.201 295.4);
Tailwind
colors: {
  custom: {
    50: '#b18aed',
    500: '#8959e4',
    950: '#000000',
  },
}
SCSS
$custom: #8959e4;
$custom-light: #b18aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8959e4",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 260.719,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.20148,
    "h": 295.4
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#8959E4
secondary
#D4E6B3
accent
#D41191
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8959E4

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

Preview Lab → · Contrast checker → · Palette generator →

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