#8A58AA#8A58AA

#8A58AA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.133 H 310.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A58AA
RGBrgb(138, 88, 170)
HSLhsl(277, 33%, 51%)
HSVhsv(277, 48%, 67%)
CMYKcmyk(18.8%, 48.2%, 0%, 33.3%)
CIE-LABlab(46.02, 36.01, -36.13)
CIE-LCHlch(46.02, 51.01, 314.90°)
OKLaboklab(54.95% 0.0871 -0.1007)
OKLCHoklch(54.95% 0.133 310.8)
XYZxyz(21.2253, 15.2854, 39.8547)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58AA #78AA58
analogous
#6158AA #8A58AA #AA58A1
triadic
#8A58AA #AA8A58 #58AA8A
tetradic
#8A58AA #AA6158 #78AA58 #58A1AA
square
#8A58AA #AA6158 #78AA58 #58A1AA
split-complementary
#8A58AA #A1AA58 #58AA61
monochromatic
#492E5A #694282 #8A58AA #A681BF #C3A9D3

Accessibility & contrast

On white

5.18
#8A58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58AA#FFFFFF#000000##FFFFFF
##8A58AA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#866579
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a58aa;
/* rgb */ color: rgb(138, 88, 170);
/* oklch */ color: oklch(55.0% 0.133 310.8);
Tailwind
colors: {
  custom: {
    50: '#ae88c3',
    500: '#8a58aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a58aa;
$custom-light: #ae88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58aa",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 276.585,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.13312,
    "h": 310.8
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#8A58AA
secondary
#ABC19D
accent
#C95F88
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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