#8A59EF#8A59EF

#8A59EF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.215 H 293.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A59EF
RGBrgb(138, 89, 239)
HSLhsl(260, 82%, 64%)
HSVhsv(260, 63%, 94%)
CMYKcmyk(42.3%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.43, 52.70, -68.69)
CIE-LCHlch(50.43, 86.57, 307.50°)
OKLaboklab(59.53% 0.087 -0.1961)
OKLCHoklch(59.53% 0.215 293.9)
XYZxyz(29.6294, 18.7792, 83.7083)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59EF #BEEF59
analogous
#5973EF #8A59EF #D559EF
triadic
#8A59EF #EF8A59 #59EF8A
tetradic
#8A59EF #EF5973 #BEEF59 #59EFD5
square
#8A59EF #EF5973 #BEEF59 #59EFD5
split-complementary
#8A59EF #EFD559 #73EF59
monochromatic
#4912BC #6321EA #8A59EF #B191F4 #D9C9FA

Accessibility & contrast

On white

4.42
#8A59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59EF#FFFFFF#000000##000000
##8A59EF1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#6E7C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a59ef;
/* rgb */ color: rgb(138, 89, 239);
/* oklch */ color: oklch(59.5% 0.215 293.9);
Tailwind
colors: {
  custom: {
    50: '#b38af5',
    500: '#8a59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ef;
$custom-light: #b38af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ef",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 259.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.21451,
    "h": 293.9
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#8A59EF
secondary
#DBECB8
accent
#DF0798
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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