#8A59E5#8A59E5

#8A59E5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.203 H 295.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A59E5
RGBrgb(138, 89, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 61%, 90%)
CMYKcmyk(39.7%, 61.1%, 0%, 10.2%)
CIE-LABlab(49.74, 50.08, -64.17)
CIE-LCHlch(49.74, 81.40, 307.97°)
OKLaboklab(58.82% 0.0877 -0.1828)
OKLCHoklch(58.82% 0.203 295.6)
XYZxyz(28.1928, 18.2046, 76.1420)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59E5 #B4E559
analogous
#596EE5 #8A59E5 #D059E5
triadic
#8A59E5 #E58A59 #59E58A
tetradic
#8A59E5 #E5596E #B4E559 #59E5D0
square
#8A59E5 #E5596E #B4E559 #59E5D0
split-complementary
#8A59E5 #E5D059 #6EE559
monochromatic
#4C1AA9 #6524DD #8A59E5 #AF8EED #D5C3F6

Accessibility & contrast

On white

4.52
#8A59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A59E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59E5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59E5#FFFFFF#000000##000000
##8A59E51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0274E2
Tritanopia (blue-blind)
#737897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a59e5;
/* rgb */ color: rgb(138, 89, 229);
/* oklch */ color: oklch(58.8% 0.203 295.6);
Tailwind
colors: {
  custom: {
    50: '#b28aee',
    500: '#8a59e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a59e5;
$custom-light: #b28aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59e5",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 261,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.20275,
    "h": 295.6
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#8A59E5
secondary
#D5E6B3
accent
#D51090
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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