#8959EA#8959EA

#8959EA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.209 H 294.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8959EA
RGBrgb(137, 89, 234)
HSLhsl(260, 78%, 63%)
HSVhsv(260, 62%, 92%)
CMYKcmyk(41.5%, 62%, 0%, 8.2%)
CIE-LABlab(49.98, 51.18, -66.61)
CIE-LCHlch(49.98, 84.00, 307.54°)
OKLaboklab(59.08% 0.0861 -0.19)
OKLCHoklch(59.08% 0.209 294.4)
XYZxyz(28.7362, 18.4029, 79.8640)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959EA #BAEA59
analogous
#5971EA #8959EA #D159EA
triadic
#8959EA #EA8959 #59EA89
tetradic
#8959EA #EA5971 #BAEA59 #59EAD1
square
#8959EA #EA5971 #BAEA59 #59EAD1
split-complementary
#8959EA #EAD159 #71EA59
monochromatic
#4A17B2 #6223E3 #8959EA #B08FF1 #D6C6F8

Accessibility & contrast

On white

4.49
#8959EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8959EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959EA#FFFFFF#000000##000000
##8959EA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#6F7A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8959ea;
/* rgb */ color: rgb(137, 89, 234);
/* oklch */ color: oklch(59.1% 0.209 294.4);
Tailwind
colors: {
  custom: {
    50: '#b28af2',
    500: '#8959ea',
    950: '#000000',
  },
}
SCSS
$custom: #8959ea;
$custom-light: #b28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8959ea",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 259.862,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.20858,
    "h": 294.4
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#8959EA
secondary
#D8E9B6
accent
#DA0C96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8959EA

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

Preview Lab → · Contrast checker → · Palette generator →

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