#8A59D5#8A59D5

#8A59D5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.184 H 298.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A59D5
RGBrgb(138, 89, 213)
HSLhsl(264, 60%, 59%)
HSVhsv(264, 58%, 84%)
CMYKcmyk(35.2%, 58.2%, 0%, 16.5%)
CIE-LABlab(48.70, 45.95, -56.78)
CIE-LCHlch(48.70, 73.04, 308.98°)
OKLaboklab(57.73% 0.0883 -0.1611)
OKLCHoklch(57.73% 0.184 298.7)
XYZxyz(26.0609, 17.3518, 64.9141)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59D5 #A4D559
analogous
#5966D5 #8A59D5 #C859D5
triadic
#8A59D5 #D58A59 #59D58A
tetradic
#8A59D5 #D55966 #A4D559 #59D5C8
square
#8A59D5 #D55966 #A4D559 #59D5C8
split-complementary
#8A59D5 #D5C859 #66D559
monochromatic
#4F248F #6931C0 #8A59D5 #AC8AE1 #CFBBEE

Accessibility & contrast

On white

4.70
#8A59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8A59D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59D5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59D5#FFFFFF#000000##FFFFFF
##8A59D51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1574D9
Deuteranopia (green-blind)
#2E73D2
Tritanopia (blue-blind)
#79738E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a59d5;
/* rgb */ color: rgb(138, 89, 213);
/* oklch */ color: oklch(57.7% 0.184 298.7);
Tailwind
colors: {
  custom: {
    50: '#b08ae3',
    500: '#8a59d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a59d5;
$custom-light: #b08ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59d5",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 263.71,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.18368,
    "h": 298.7
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#8A59D5
secondary
#CADDAD
accent
#E345A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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