#8A59E1#8A59E1

#8A59E1 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.198 H 296.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A59E1
RGBrgb(138, 89, 225)
HSLhsl(262, 69%, 62%)
HSVhsv(262, 60%, 88%)
CMYKcmyk(38.7%, 60.4%, 0%, 11.8%)
CIE-LABlab(49.48, 49.04, -62.34)
CIE-LCHlch(49.48, 79.32, 308.19°)
OKLaboklab(58.54% 0.0879 -0.1774)
OKLCHoklch(58.54% 0.198 296.4)
XYZxyz(27.6407, 17.9838, 73.2345)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59E1 #B0E159
analogous
#596CE1 #8A59E1 #CE59E1
triadic
#8A59E1 #E18A59 #59E18A
tetradic
#8A59E1 #E1596C #B0E159 #59E1CE
square
#8A59E1 #E1596C #B0E159 #59E1CE
split-complementary
#8A59E1 #E1CE59 #6CE159
monochromatic
#4D1DA2 #6627D6 #8A59E1 #AF8DEA #D3C1F4

Accessibility & contrast

On white

4.57
#8A59E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A59E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59E1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59E1#FFFFFF#000000##000000
##8A59E11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#1574DE
Tritanopia (blue-blind)
#757795
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a59e1;
/* rgb */ color: rgb(138, 89, 225);
/* oklch */ color: oklch(58.5% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#b18aeb',
    500: '#8a59e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a59e1;
$custom-light: #b18aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59e1",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 261.618,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.19801,
    "h": 296.4
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#8A59E1
secondary
#D2E4B2
accent
#D1148D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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