#8A59DB#8A59DB

#8A59DB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.191 H 297.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A59DB
RGBrgb(138, 89, 219)
HSLhsl(263, 64%, 60%)
HSVhsv(263, 59%, 86%)
CMYKcmyk(37%, 59.4%, 0%, 14.1%)
CIE-LABlab(49.08, 47.49, -59.57)
CIE-LCHlch(49.08, 76.18, 308.56°)
OKLaboklab(58.13% 0.0882 -0.1693)
OKLCHoklch(58.13% 0.191 297.5)
XYZxyz(26.8366, 17.6621, 68.9993)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59DB #AADB59
analogous
#5969DB #8A59DB #CB59DB
triadic
#8A59DB #DB8A59 #59DB8A
tetradic
#8A59DB #DB5969 #AADB59 #59DBCB
square
#8A59DB #DB5969 #AADB59 #59DBCB
split-complementary
#8A59DB #DBCB59 #69DB59
monochromatic
#4E2199 #682CCB #8A59DB #AD8BE6 #D1BEF1

Accessibility & contrast

On white

4.63
#8A59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8A59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59DB#FFFFFF#000000##FFFFFF
##8A59DB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#777592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a59db;
/* rgb */ color: rgb(138, 89, 219);
/* oklch */ color: oklch(58.1% 0.191 297.5);
Tailwind
colors: {
  custom: {
    50: '#b18ae7',
    500: '#8a59db',
    950: '#000000',
  },
}
SCSS
$custom: #8a59db;
$custom-light: #b18ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59db",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 262.615,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.19087,
    "h": 297.5
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#8A59DB
secondary
#CEE1AF
accent
#CC1989
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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