#8A59D8#8A59D8

#8A59D8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.187 H 298.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A59D8
RGBrgb(138, 89, 216)
HSLhsl(263, 62%, 60%)
HSVhsv(263, 59%, 85%)
CMYKcmyk(36.1%, 58.8%, 0%, 15.3%)
CIE-LABlab(48.89, 46.72, -58.18)
CIE-LCHlch(48.89, 74.61, 308.76°)
OKLaboklab(57.93% 0.0882 -0.1652)
OKLCHoklch(57.93% 0.187 298.1)
XYZxyz(26.4452, 17.5056, 66.9381)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59D8 #A7D859
analogous
#5967D8 #8A59D8 #CA59D8
triadic
#8A59D8 #D88A59 #59D88A
tetradic
#8A59D8 #D85967 #A7D859 #59D8CA
square
#8A59D8 #D85967 #A7D859 #59D8CA
split-complementary
#8A59D8 #D8CA59 #67D859
monochromatic
#4E2394 #692EC5 #8A59D8 #AD8BE4 #D0BCEF

Accessibility & contrast

On white

4.67
#8A59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A59D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59D8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59D8#FFFFFF#000000##FFFFFF
##8A59D81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A74DC
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#787490
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a59d8;
/* rgb */ color: rgb(138, 89, 216);
/* oklch */ color: oklch(57.9% 0.187 298.1);
Tailwind
colors: {
  custom: {
    50: '#b18ae5',
    500: '#8a59d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a59d8;
$custom-light: #b18ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59d8",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 263.15,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.18727,
    "h": 298.1
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#8A59D8
secondary
#CCDFAE
accent
#E543A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8A59D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva