#8A59F2#8A59F2

#8A59F2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.218 H 293.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A59F2
RGBrgb(138, 89, 242)
HSLhsl(259, 85%, 65%)
HSVhsv(259, 63%, 95%)
CMYKcmyk(43%, 63.2%, 0%, 5.1%)
CIE-LABlab(50.64, 53.49, -70.03)
CIE-LCHlch(50.64, 88.12, 307.37°)
OKLaboklab(59.75% 0.0867 -0.2)
OKLCHoklch(59.75% 0.218 293.4)
XYZxyz(30.0763, 18.9580, 86.0618)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59F2 #C1F259
analogous
#5974F2 #8A59F2 #D759F2
triadic
#8A59F2 #F28A59 #59F28A
tetradic
#8A59F2 #F25974 #C1F259 #59F2D7
square
#8A59F2 #F25974 #C1F259 #59F2D7
split-complementary
#8A59F2 #F2D759 #74F259
monochromatic
#480FC1 #6220EE #8A59F2 #B292F6 #DACBFB

Accessibility & contrast

On white

4.38
#8A59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59F2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59F2#FFFFFF#000000##000000
##8A59F21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#6D7D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a59f2;
/* rgb */ color: rgb(138, 89, 242);
/* oklch */ color: oklch(59.8% 0.218 293.4);
Tailwind
colors: {
  custom: {
    50: '#b38af7',
    500: '#8a59f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a59f2;
$custom-light: #b38af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59f2",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 259.216,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.218,
    "h": 293.4
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#8A59F2
secondary
#DDEDB9
accent
#E2049B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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