#8A59DF#8A59DF

#8A59DF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.196 H 296.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A59DF
RGBrgb(138, 89, 223)
HSLhsl(262, 68%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(38.1%, 60.1%, 0%, 12.5%)
CIE-LABlab(49.34, 48.52, -61.42)
CIE-LCHlch(49.34, 78.27, 308.31°)
OKLaboklab(58.4% 0.088 -0.1747)
OKLCHoklch(58.4% 0.196 296.7)
XYZxyz(27.3695, 17.8753, 71.8060)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59DF #AEDF59
analogous
#596BDF #8A59DF #CD59DF
triadic
#8A59DF #DF8A59 #59DF8A
tetradic
#8A59DF #DF596B #AEDF59 #59DFCD
square
#8A59DF #DF596B #AEDF59 #59DFCD
split-complementary
#8A59DF #DFCD59 #6BDF59
monochromatic
#4E1F9F #6729D2 #8A59DF #AE8CE9 #D2C0F3

Accessibility & contrast

On white

4.59
#8A59DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8A59DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59DF#FFFFFF#000000##FFFFFF
##8A59DF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#757694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a59df;
/* rgb */ color: rgb(138, 89, 223);
/* oklch */ color: oklch(58.4% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#b18aea',
    500: '#8a59df',
    950: '#000000',
  },
}
SCSS
$custom: #8a59df;
$custom-light: #b18aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59df",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 261.94,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.19564,
    "h": 296.7
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#8A59DF
secondary
#D1E3B1
accent
#D0168C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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