#8A459E#8A459E

#8A459E is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.3% C 0.151 H 318.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A459E
RGBrgb(138, 69, 158)
HSLhsl(287, 39%, 45%)
HSVhsv(287, 56%, 62%)
CMYKcmyk(12.7%, 56.3%, 0%, 38%)
CIE-LABlab(41.42, 43.72, -36.28)
CIE-LCHlch(41.42, 56.81, 320.32°)
OKLaboklab(51.34% 0.1128 -0.101)
OKLCHoklch(51.34% 0.151 318.1)
XYZxyz(18.7801, 12.1289, 33.6930)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459E #599E45
analogous
#5E459E #8A459E #9E4586
triadic
#8A459E #9E8A45 #459E8A
tetradic
#8A459E #9E5E45 #599E45 #45869E
square
#8A459E #9E5E45 #599E45 #45869E
split-complementary
#8A459E #869E45 #459E5E
monochromatic
#402049 #653273 #8A459E #A865BC #C08FCE

Accessibility & contrast

On white

6.13
#8A459E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A459E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A459E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459E#FFFFFF#000000##FFFFFF
##8A459E1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#8A536B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a459e;
/* rgb */ color: rgb(138, 69, 158);
/* oklch */ color: oklch(51.3% 0.151 318.1);
Tailwind
colors: {
  custom: {
    50: '#ae7cbb',
    500: '#8a459e',
    950: '#000000',
  },
}
SCSS
$custom: #8a459e;
$custom-light: #ae7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459e",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 286.517,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.15139,
    "h": 318.1
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#8A459E
secondary
#91BA85
accent
#CF5973
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A459E

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

Preview Lab → · Contrast checker → · Palette generator →

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