#8A59CA#8A59CA

#8A59CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.170 H 301.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A59CA
RGBrgb(138, 89, 202)
HSLhsl(266, 52%, 57%)
HSVhsv(266, 56%, 79%)
CMYKcmyk(31.7%, 55.9%, 0%, 20.8%)
CIE-LABlab(48.02, 43.16, -51.56)
CIE-LCHlch(48.02, 67.25, 309.93°)
OKLaboklab(57.01% 0.0882 -0.1458)
OKLCHoklch(57.01% 0.17 301.2)
XYZxyz(24.7118, 16.8122, 57.8088)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59CA #99CA59
analogous
#5961CA #8A59CA #C359CA
triadic
#8A59CA #CA8A59 #59CA8A
tetradic
#8A59CA #CA5961 #99CA59 #59CAC3
square
#8A59CA #CA5961 #99CA59 #59CAC3
split-complementary
#8A59CA #CAC359 #61CA59
monochromatic
#4F2980 #6B38AE #8A59CA #AB87D9 #CBB6E8

Accessibility & contrast

On white

4.81
#8A59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59CA#FFFFFF#000000##FFFFFF
##8A59CA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#7D6F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a59ca;
/* rgb */ color: rgb(138, 89, 202);
/* oklch */ color: oklch(57.0% 0.170 301.2);
Tailwind
colors: {
  custom: {
    50: '#b08adb',
    500: '#8a59ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ca;
$custom-light: #b08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ca",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 266.018,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.17039,
    "h": 301.2
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#8A59CA
secondary
#C2D6A8
accent
#DB4D9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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