#8A59DD#8A59DD

#8A59DD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.193 H 297.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A59DD
RGBrgb(138, 89, 221)
HSLhsl(262, 66%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(37.6%, 59.7%, 0%, 13.3%)
CIE-LABlab(49.21, 48.00, -60.50)
CIE-LCHlch(49.21, 77.23, 308.43°)
OKLaboklab(58.26% 0.0881 -0.172)
OKLCHoklch(58.26% 0.193 297.1)
XYZxyz(27.1014, 17.7681, 70.3943)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59DD #ACDD59
analogous
#596ADD #8A59DD #CC59DD
triadic
#8A59DD #DD8A59 #59DD8A
tetradic
#8A59DD #DD596A #ACDD59 #59DDCC
square
#8A59DD #DD596A #ACDD59 #59DDCC
split-complementary
#8A59DD #DDCC59 #6ADD59
monochromatic
#4E209C #672ACF #8A59DD #AE8CE7 #D2BFF2

Accessibility & contrast

On white

4.61
#8A59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59DD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59DD#FFFFFF#000000##FFFFFF
##8A59DD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#767693
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a59dd;
/* rgb */ color: rgb(138, 89, 221);
/* oklch */ color: oklch(58.3% 0.193 297.1);
Tailwind
colors: {
  custom: {
    50: '#b18ae8',
    500: '#8a59dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a59dd;
$custom-light: #b18ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59dd",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 262.273,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.19325,
    "h": 297.1
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#8A59DD
secondary
#CFE2B0
accent
#CE188A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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