#8959EF#8959EF

#8959EF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.214 H 293.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8959EF
RGBrgb(137, 89, 239)
HSLhsl(259, 82%, 64%)
HSVhsv(259, 63%, 94%)
CMYKcmyk(42.7%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.33, 52.50, -68.85)
CIE-LCHlch(50.33, 86.59, 307.33°)
OKLaboklab(59.44% 0.0857 -0.1966)
OKLCHoklch(59.44% 0.214 293.5)
XYZxyz(29.4647, 18.6943, 83.7006)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959EF #BFEF59
analogous
#5974EF #8959EF #D459EF
triadic
#8959EF #EF8959 #59EF89
tetradic
#8959EF #EF5974 #BFEF59 #59EFD4
square
#8959EF #EF5974 #BFEF59 #59EFD4
split-complementary
#8959EF #EFD459 #74EF59
monochromatic
#4812BC #6121EA #8959EF #B191F4 #D8C9FA

Accessibility & contrast

On white

4.43
#8959EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8959EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959EF#FFFFFF#000000##000000
##8959EF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#6D7C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8959ef;
/* rgb */ color: rgb(137, 89, 239);
/* oklch */ color: oklch(59.4% 0.214 293.5);
Tailwind
colors: {
  custom: {
    50: '#b28af5',
    500: '#8959ef',
    950: '#000000',
  },
}
SCSS
$custom: #8959ef;
$custom-light: #b28af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8959ef",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 259.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.21446,
    "h": 293.5
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#8959EF
secondary
#DBECB8
accent
#DF079A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8959EF

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

Preview Lab → · Contrast checker → · Palette generator →

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