#8A59FE#8A59FE

#8A59FE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.232 H 291.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A59FE
RGBrgb(138, 89, 254)
HSLhsl(258, 99%, 67%)
HSVhsv(258, 65%, 100%)
CMYKcmyk(45.7%, 65%, 0%, 0.4%)
CIE-LABlab(51.50, 56.66, -75.31)
CIE-LCHlch(51.50, 94.25, 306.96°)
OKLaboklab(60.64% 0.0854 -0.2156)
OKLCHoklch(60.64% 0.232 291.6)
XYZxyz(31.9380, 19.7027, 95.8669)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59FE #CDFE59
analogous
#597BFE #8A59FE #DC59FE
triadic
#8A59FE #FE8A59 #59FE8A
tetradic
#8A59FE #FE597B #CDFE59 #59FEDC
square
#8A59FE #FE597B #CDFE59 #59FEDC
split-complementary
#8A59FE #FEDC59 #7BFE59
monochromatic
#4201DB #5F1CFE #8A59FE #B596FE #E0D3FF

Accessibility & contrast

On white

4.25
#8A59FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A59FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59FE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59FE#FFFFFF#000000##000000
##8A59FE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#6681A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a59fe;
/* rgb */ color: rgb(138, 89, 254);
/* oklch */ color: oklch(60.6% 0.232 291.6);
Tailwind
colors: {
  custom: {
    50: '#b48bff',
    500: '#8a59fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a59fe;
$custom-light: #b48bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59fe",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 257.818,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.23188,
    "h": 291.6
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#8A59FE
secondary
#E4F3BF
accent
#E600A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A59FE

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

Preview Lab → · Contrast checker → · Palette generator →

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