#8A58AE#8A58AE

#8A58AE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.138 H 309.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A58AE
RGBrgb(138, 88, 174)
HSLhsl(275, 35%, 51%)
HSVhsv(275, 49%, 68%)
CMYKcmyk(20.7%, 49.4%, 0%, 31.8%)
CIE-LABlab(46.23, 36.94, -38.15)
CIE-LCHlch(46.23, 53.10, 314.07°)
OKLaboklab(55.17% 0.0876 -0.1066)
OKLCHoklch(55.17% 0.138 309.4)
XYZxyz(21.6095, 15.4390, 41.8778)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58AE #7CAE58
analogous
#5F58AE #8A58AE #AE58A7
triadic
#8A58AE #AE8A58 #58AE8A
tetradic
#8A58AE #AE5F58 #7CAE58 #58A7AE
square
#8A58AE #AE5F58 #7CAE58 #58A7AE
split-complementary
#8A58AE #A7AE58 #58AE5F
monochromatic
#4A2E5E #6A4287 #8A58AE #A781C2 #C4AAD6

Accessibility & contrast

On white

5.14
#8A58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58AE#FFFFFF#000000##FFFFFF
##8A58AE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#85667B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a58ae;
/* rgb */ color: rgb(138, 88, 174);
/* oklch */ color: oklch(55.2% 0.138 309.4);
Tailwind
colors: {
  custom: {
    50: '#ae88c6',
    500: '#8a58ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ae;
$custom-light: #ae88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ae",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 274.884,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.13795,
    "h": 309.4
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#8A58AE
secondary
#AEC49E
accent
#CB5D8B
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8A58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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