#8A459C#8A459C

#8A459C is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.2% C 0.149 H 319.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A459C
RGBrgb(138, 69, 156)
HSLhsl(288, 39%, 44%)
HSVhsv(288, 56%, 61%)
CMYKcmyk(11.5%, 55.8%, 0%, 38.8%)
CIE-LABlab(41.31, 43.30, -35.25)
CIE-LCHlch(41.31, 55.83, 320.85°)
OKLaboklab(51.23% 0.1126 -0.098)
OKLCHoklch(51.23% 0.149 319)
XYZxyz(18.6093, 12.0606, 32.7937)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459C #579C45
analogous
#5F459C #8A459C #9C4583
triadic
#8A459C #9C8A45 #459C8A
tetradic
#8A459C #9C5F45 #579C45 #45839C
square
#8A459C #9C5F45 #579C45 #45839C
split-complementary
#8A459C #839C45 #459C5F
monochromatic
#3F1F47 #643272 #8A459C #A864BA #C08ECD

Accessibility & contrast

On white

6.15
#8A459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A459C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459C#FFFFFF#000000##FFFFFF
##8A459C1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#8A526A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a459c;
/* rgb */ color: rgb(138, 69, 156);
/* oklch */ color: oklch(51.2% 0.149 319.0);
Tailwind
colors: {
  custom: {
    50: '#ae7cb9',
    500: '#8a459c',
    950: '#000000',
  },
}
SCSS
$custom: #8a459c;
$custom-light: #ae7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459c",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 287.586,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.14929,
    "h": 319
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#8A459C
secondary
#8FB984
accent
#CF5971
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A459C

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

Preview Lab → · Contrast checker → · Palette generator →

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