#8A58A2#8A58A2

#8A58A2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.5% C 0.124 H 314.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A58A2
RGBrgb(138, 88, 162)
HSLhsl(281, 30%, 49%)
HSVhsv(281, 46%, 64%)
CMYKcmyk(14.8%, 45.7%, 0%, 36.5%)
CIE-LABlab(45.62, 34.20, -32.04)
CIE-LCHlch(45.62, 46.86, 316.87°)
OKLaboklab(54.52% 0.0858 -0.0888)
OKLCHoklch(54.52% 0.124 314)
XYZxyz(20.4915, 14.9918, 35.9897)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58A2 #70A258
analogous
#6558A2 #8A58A2 #A25895
triadic
#8A58A2 #A28A58 #58A28A
tetradic
#8A58A2 #A26558 #70A258 #5895A2
square
#8A58A2 #A26558 #70A258 #5895A2
split-complementary
#8A58A2 #95A258 #58A265
monochromatic
#462D53 #68427A #8A58A2 #A67EB9 #C1A6CF

Accessibility & contrast

On white

5.25
#8A58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58A2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58A2#FFFFFF#000000##FFFFFF
##8A58A21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#886375
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a58a2;
/* rgb */ color: rgb(138, 88, 162);
/* oklch */ color: oklch(54.5% 0.124 314.0);
Tailwind
colors: {
  custom: {
    50: '#ae88be',
    500: '#8a58a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a58a2;
$custom-light: #ae88be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58a2",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 280.541,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.12354,
    "h": 314
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#8A58A2
secondary
#A5BC99
accent
#C66282
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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