#8A4697#8A4697

#8A4697 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.1% C 0.142 H 321.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A4697
RGBrgb(138, 70, 151)
HSLhsl(290, 37%, 43%)
HSVhsv(290, 54%, 59%)
CMYKcmyk(8.6%, 53.6%, 0%, 40.8%)
CIE-LABlab(41.25, 41.74, -32.35)
CIE-LCHlch(41.25, 52.81, 322.23°)
OKLaboklab(51.1% 0.1107 -0.0896)
OKLCHoklch(51.1% 0.142 321)
XYZxyz(18.2567, 12.0187, 30.6303)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4697 #539746
analogous
#614697 #8A4697 #97467B
triadic
#8A4697 #978A46 #46978A
tetradic
#8A4697 #976146 #539746 #467B97
square
#8A4697 #976146 #539746 #467B97
split-complementary
#8A4697 #7B9746 #469761
monochromatic
#3E1F43 #64336D #8A4697 #A963B7 #C08DCA

Accessibility & contrast

On white

6.17
#8A4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4697
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4697#FFFFFF#000000##FFFFFF
##8A46971.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#8B5168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4697;
/* rgb */ color: rgb(138, 70, 151);
/* oklch */ color: oklch(51.1% 0.142 321.0);
Tailwind
colors: {
  custom: {
    50: '#ae7cb6',
    500: '#8a4697',
    950: '#000000',
  },
}
SCSS
$custom: #8a4697;
$custom-light: #ae7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4697",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 290.37,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.14241,
    "h": 321
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#8A4697
secondary
#8BB683
accent
#CD5B6D
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4697

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

Preview Lab → · Contrast checker → · Palette generator →

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