#8A59F7#8A59F7

#8A59F7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.224 H 292.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A59F7
RGBrgb(138, 89, 247)
HSLhsl(259, 91%, 66%)
HSVhsv(259, 64%, 97%)
CMYKcmyk(44.1%, 64%, 0%, 3.1%)
CIE-LABlab(50.99, 54.81, -72.24)
CIE-LCHlch(50.99, 90.68, 307.19°)
OKLaboklab(60.12% 0.0862 -0.2065)
OKLCHoklch(60.12% 0.224 292.7)
XYZxyz(30.8375, 19.2625, 90.0709)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59F7 #C6F759
analogous
#5977F7 #8A59F7 #D959F7
triadic
#8A59F7 #F78A59 #59F78A
tetradic
#8A59F7 #F75977 #C6F759 #59F7D9
square
#8A59F7 #F75977 #C6F759 #59F7D9
split-complementary
#8A59F7 #F7D959 #77F759
monochromatic
#460ACC #611FF4 #8A59F7 #B393FA #DCCEFD

Accessibility & contrast

On white

4.33
#8A59F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A59F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59F7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59F7#FFFFFF#000000##000000
##8A59F71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#6A7EA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a59f7;
/* rgb */ color: rgb(138, 89, 247);
/* oklch */ color: oklch(60.1% 0.224 292.7);
Tailwind
colors: {
  custom: {
    50: '#b48afb',
    500: '#8a59f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a59f7;
$custom-light: #b48afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59f7",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 258.608,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60119,
    "c": 0.22381,
    "h": 292.7
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#8A59F7
secondary
#E0F0BC
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59F7

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

Preview Lab → · Contrast checker → · Palette generator →

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