#8A498D#8A498D

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

Color values

HEX#8A498D
RGBrgb(138, 73, 141)
HSLhsl(297, 32%, 42%)
HSVhsv(297, 48%, 55%)
CMYKcmyk(2.1%, 48.2%, 0%, 44.7%)
CIE-LABlab(41.36, 38.12, -26.12)
CIE-LCHlch(41.36, 46.21, 325.58°)
OKLaboklab(51.02% 0.1048 -0.0717)
OKLCHoklch(51.02% 0.127 325.6)
XYZxyz(17.6711, 12.0923, 26.5974)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A498D #4C8D49
analogous
#68498D #8A498D #8D496E
triadic
#8A498D #8D8A49 #498D8A
tetradic
#8A498D #8D6849 #4C8D49 #496E8D
square
#8A498D #8D6849 #4C8D49 #496E8D
split-complementary
#8A498D #6E8D49 #498D68
monochromatic
#3B1F3C #633465 #8A498D #AC64AF #C18DC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A498D#FFFFFF#000000##FFFFFF
##8A498D1.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)
#425C8F
Deuteranopia (green-blind)
#55648B
Tritanopia (blue-blind)
#8D5164
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a498d;
/* rgb */ color: rgb(138, 73, 141);
/* oklch */ color: oklch(51.0% 0.127 325.6);
Tailwind
colors: {
  custom: {
    50: '#ae7eae',
    500: '#8a498d',
    950: '#000000',
  },
}
SCSS
$custom: #8a498d;
$custom-light: #ae7eae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a498d",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 297.353,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.12696,
    "h": 325.6
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#8A498D
secondary
#84B082
accent
#C86064
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A498D

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

Preview Lab → · Contrast checker → · Palette generator →

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