#8A59A2#8A59A2

#8A59A2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 54.7% C 0.122 H 313.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A59A2
RGBrgb(138, 89, 162)
HSLhsl(280, 29%, 49%)
HSVhsv(280, 45%, 64%)
CMYKcmyk(14.8%, 45.1%, 0%, 36.5%)
CIE-LABlab(45.85, 33.63, -31.68)
CIE-LCHlch(45.85, 46.20, 316.70°)
OKLaboklab(54.69% 0.0843 -0.0878)
OKLCHoklch(54.69% 0.122 313.8)
XYZxyz(20.5741, 15.1571, 36.0172)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59A2 #71A259
analogous
#6659A2 #8A59A2 #A25996
triadic
#8A59A2 #A28A59 #59A28A
tetradic
#8A59A2 #A26659 #71A259 #5996A2
square
#8A59A2 #A26659 #71A259 #5996A2
split-complementary
#8A59A2 #96A259 #59A266
monochromatic
#472E53 #68437B #8A59A2 #A67FB9 #C2A7CF

Accessibility & contrast

On white

5.21
#8A59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8A59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59A2#FFFFFF#000000##FFFFFF
##8A59A21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#886476
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a59a2;
/* rgb */ color: rgb(138, 89, 162);
/* oklch */ color: oklch(54.7% 0.122 313.8);
Tailwind
colors: {
  custom: {
    50: '#ad89be',
    500: '#8a59a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a59a2;
$custom-light: #ad89be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59a2",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 280.274,
    "s": 29.084,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.12177,
    "h": 313.8
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#8A59A2
secondary
#A6BC9A
accent
#C56283
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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