#8A459F#8A459F

#8A459F is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.4% C 0.152 H 317.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A459F
RGBrgb(138, 69, 159)
HSLhsl(286, 39%, 45%)
HSVhsv(286, 57%, 62%)
CMYKcmyk(13.2%, 56.6%, 0%, 37.6%)
CIE-LABlab(41.47, 43.93, -36.79)
CIE-LCHlch(41.47, 57.30, 320.06°)
OKLaboklab(51.4% 0.1128 -0.1025)
OKLCHoklch(51.4% 0.152 317.7)
XYZxyz(18.8665, 12.1634, 34.1481)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459F #5A9F45
analogous
#5D459F #8A459F #9F4587
triadic
#8A459F #9F8A45 #459F8A
tetradic
#8A459F #9F5D45 #5A9F45 #45879F
square
#8A459F #9F5D45 #5A9F45 #45879F
split-complementary
#8A459F #879F45 #459F5D
monochromatic
#40204A #653274 #8A459F #A865BC #C090CF

Accessibility & contrast

On white

6.12
#8A459F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A459F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459F#FFFFFF#000000##FFFFFF
##8A459F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA2
Deuteranopia (green-blind)
#48649D
Tritanopia (blue-blind)
#8A536B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a459f;
/* rgb */ color: rgb(138, 69, 159);
/* oklch */ color: oklch(51.4% 0.152 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae7cbc',
    500: '#8a459f',
    950: '#000000',
  },
}
SCSS
$custom: #8a459f;
$custom-light: #ae7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459f",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 286,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.15244,
    "h": 317.7
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#8A459F
secondary
#92BA86
accent
#CF5874
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A459F

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

Preview Lab → · Contrast checker → · Palette generator →

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