#8959E7#8959E7

#8959E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.205 H 294.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8959E7
RGBrgb(137, 89, 231)
HSLhsl(260, 75%, 63%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.7%, 61.5%, 0%, 9.4%)
CIE-LABlab(49.78, 50.39, -65.25)
CIE-LCHlch(49.78, 82.44, 307.68°)
OKLaboklab(58.86% 0.0863 -0.186)
OKLCHoklch(58.86% 0.205 294.9)
XYZxyz(28.3089, 18.2320, 77.6134)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959E7 #B7E759
analogous
#5970E7 #8959E7 #D059E7
triadic
#8959E7 #E78959 #59E789
tetradic
#8959E7 #E75970 #B7E759 #59E7D0
square
#8959E7 #E75970 #B7E759 #59E7D0
split-complementary
#8959E7 #E7D059 #70E759
monochromatic
#4B19AD #6324DF #8959E7 #AF8EEF #D5C4F6

Accessibility & contrast

On white

4.52
#8959E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8959E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959E7#FFFFFF#000000##000000
##8959E71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#707998
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8959e7;
/* rgb */ color: rgb(137, 89, 231);
/* oklch */ color: oklch(58.9% 0.205 294.9);
Tailwind
colors: {
  custom: {
    50: '#b18aef',
    500: '#8959e7',
    950: '#000000',
  },
}
SCSS
$custom: #8959e7;
$custom-light: #b18aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8959e7",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 260.282,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.20504,
    "h": 294.9
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#8959E7
secondary
#D6E8B4
accent
#D70F93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8959E7

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

Preview Lab → · Contrast checker → · Palette generator →

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