#8A59AF#8A59AF

#8A59AF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.137 H 308.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A59AF
RGBrgb(138, 89, 175)
HSLhsl(274, 35%, 52%)
HSVhsv(274, 49%, 69%)
CMYKcmyk(21.1%, 49.1%, 0%, 31.4%)
CIE-LABlab(46.50, 36.60, -38.31)
CIE-LCHlch(46.50, 52.99, 313.70°)
OKLaboklab(55.39% 0.0863 -0.107)
OKLCHoklch(55.39% 0.137 308.9)
XYZxyz(21.7900, 15.6435, 42.4207)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59AF #7EAF59
analogous
#5F59AF #8A59AF #AF59A9
triadic
#8A59AF #AF8A59 #59AF8A
tetradic
#8A59AF #AF5F59 #7EAF59 #59A9AF
square
#8A59AF #AF5F59 #7EAF59 #59A9AF
split-complementary
#8A59AF #A9AF59 #59AF5F
monochromatic
#4A2E60 #6A4289 #8A59AF #A782C3 #C4ACD7

Accessibility & contrast

On white

5.09
#8A59AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8A59AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59AF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59AF#FFFFFF#000000##FFFFFF
##8A59AF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#85677C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a59af;
/* rgb */ color: rgb(138, 89, 175);
/* oklch */ color: oklch(55.4% 0.137 308.9);
Tailwind
colors: {
  custom: {
    50: '#ae89c7',
    500: '#8a59af',
    950: '#000000',
  },
}
SCSS
$custom: #8a59af;
$custom-light: #ae89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59af",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 274.186,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.13747,
    "h": 308.9
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#8A59AF
secondary
#AFC59F
accent
#CB5D8C
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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