#8A58C0#8A58C0

#8A58C0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.160 H 303.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A58C0
RGBrgb(138, 88, 192)
HSLhsl(269, 45%, 55%)
HSVhsv(269, 54%, 75%)
CMYKcmyk(28.1%, 54.2%, 0%, 24.7%)
CIE-LABlab(47.22, 41.24, -47.07)
CIE-LCHlch(47.22, 62.58, 311.22°)
OKLaboklab(56.23% 0.0891 -0.1326)
OKLCHoklch(56.23% 0.16 303.9)
XYZxyz(23.4833, 16.1886, 51.7465)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58C0 #8EC058
analogous
#585AC0 #8A58C0 #BE58C0
triadic
#8A58C0 #C08A58 #58C08A
tetradic
#8A58C0 #C0585A #8EC058 #58C0BE
square
#8A58C0 #C0585A #8EC058 #58C0BE
split-complementary
#8A58C0 #C0BE58 #5AC058
monochromatic
#4D2B72 #6B3C9F #8A58C0 #A984D1 #C8B1E2

Accessibility & contrast

On white

4.96
#8A58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A58C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58C0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58C0#FFFFFF#000000##FFFFFF
##8A58C01.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336FC3
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#806C84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a58c0;
/* rgb */ color: rgb(138, 88, 192);
/* oklch */ color: oklch(56.2% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#af89d3',
    500: '#8a58c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a58c0;
$custom-light: #af89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58c0",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 268.846,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.15978,
    "h": 303.9
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#8A58C0
secondary
#BBD0A4
accent
#D55396
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A58C0

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

Preview Lab → · Contrast checker → · Palette generator →

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