#8A4299#8A4299

#8A4299 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.6% C 0.151 H 320.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A4299
RGBrgb(138, 66, 153)
HSLhsl(290, 40%, 43%)
HSVhsv(290, 57%, 60%)
CMYKcmyk(9.8%, 56.9%, 0%, 40%)
CIE-LABlab(40.57, 44.23, -34.61)
CIE-LCHlch(40.57, 56.16, 321.95°)
OKLaboklab(50.64% 0.1165 -0.0962)
OKLCHoklch(50.64% 0.151 320.5)
XYZxyz(18.1785, 11.6004, 31.4124)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4299 #519942
analogous
#5E4299 #8A4299 #99427C
triadic
#8A4299 #998A42 #42998A
tetradic
#8A4299 #995E42 #519942 #427C99
square
#8A4299 #995E42 #519942 #427C99
split-complementary
#8A4299 #7C9942 #42995E
monochromatic
#3D1D43 #63306E #8A4299 #AA5EBA #C189CC

Accessibility & contrast

On white

6.33
#8A4299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A4299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4299
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4299#FFFFFF#000000##FFFFFF
##8A42991.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#4A6297
Tritanopia (blue-blind)
#8B4F67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4299;
/* rgb */ color: rgb(138, 66, 153);
/* oklch */ color: oklch(50.6% 0.151 320.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ab7',
    500: '#8a4299',
    950: '#000000',
  },
}
SCSS
$custom: #8a4299;
$custom-light: #ae7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4299",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 289.655,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.15104,
    "h": 320.5
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#8A4299
secondary
#89B780
accent
#D0586D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4299

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

Preview Lab → · Contrast checker → · Palette generator →

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