#8A459D#8A459D

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

Color values

HEX#8A459D
RGBrgb(138, 69, 157)
HSLhsl(287, 39%, 44%)
HSVhsv(287, 56%, 62%)
CMYKcmyk(12.1%, 56.1%, 0%, 38.4%)
CIE-LABlab(41.37, 43.51, -35.76)
CIE-LCHlch(41.37, 56.32, 320.58°)
OKLaboklab(51.29% 0.1127 -0.0995)
OKLCHoklch(51.29% 0.15 318.5)
XYZxyz(18.6943, 12.0946, 33.2415)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459D #589D45
analogous
#5E459D #8A459D #9D4584
triadic
#8A459D #9D8A45 #459D8A
tetradic
#8A459D #9D5E45 #589D45 #45849D
square
#8A459D #9D5E45 #589D45 #45849D
split-complementary
#8A459D #849D45 #459D5E
monochromatic
#3F2048 #653272 #8A459D #A864BB #C08FCE

Accessibility & contrast

On white

6.14
#8A459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A459D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459D#FFFFFF#000000##FFFFFF
##8A459D1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#8A526A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a459d;
/* rgb */ color: rgb(138, 69, 157);
/* oklch */ color: oklch(51.3% 0.150 318.5);
Tailwind
colors: {
  custom: {
    50: '#ae7cba',
    500: '#8a459d',
    950: '#000000',
  },
}
SCSS
$custom: #8a459d;
$custom-light: #ae7cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459d",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 287.045,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.15034,
    "h": 318.5
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#8A459D
secondary
#90B985
accent
#CF5972
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A459D

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

Preview Lab → · Contrast checker → · Palette generator →

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