#8A58AF#8A58AF

#8A58AF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.139 H 309.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A58AF
RGBrgb(138, 88, 175)
HSLhsl(274, 35%, 52%)
HSVhsv(274, 50%, 69%)
CMYKcmyk(21.1%, 49.7%, 0%, 31.4%)
CIE-LABlab(46.28, 37.17, -38.66)
CIE-LCHlch(46.28, 53.63, 313.88°)
OKLaboklab(55.23% 0.0877 -0.108)
OKLCHoklch(55.23% 0.139 309.1)
XYZxyz(21.7073, 15.4782, 42.3932)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58AF #7DAF58
analogous
#5F58AF #8A58AF #AF58A9
triadic
#8A58AF #AF8A58 #58AF8A
tetradic
#8A58AF #AF5F58 #7DAF58 #58A9AF
square
#8A58AF #AF5F58 #7DAF58 #58A9AF
split-complementary
#8A58AF #A9AF58 #58AF5F
monochromatic
#4A2E5F #6A4188 #8A58AF #A781C3 #C4ABD7

Accessibility & contrast

On white

5.13
#8A58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58AF#FFFFFF#000000##FFFFFF
##8A58AF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#506EAD
Tritanopia (blue-blind)
#85667B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a58af;
/* rgb */ color: rgb(138, 88, 175);
/* oklch */ color: oklch(55.2% 0.139 309.1);
Tailwind
colors: {
  custom: {
    50: '#ae88c7',
    500: '#8a58af',
    950: '#000000',
  },
}
SCSS
$custom: #8a58af;
$custom-light: #ae88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58af",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 274.483,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.13915,
    "h": 309.1
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#8A58AF
secondary
#AFC59E
accent
#CB5D8C
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8A58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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