#8A488D#8A488D

#8A488D is a mid, vivid purple. Relative luminance 0.120; OKLCH L 50.9% C 0.129 H 325.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A488D
RGBrgb(138, 72, 141)
HSLhsl(297, 32%, 42%)
HSVhsv(297, 49%, 55%)
CMYKcmyk(2.1%, 48.9%, 0%, 44.7%)
CIE-LABlab(41.16, 38.66, -26.44)
CIE-LCHlch(41.16, 46.84, 325.63°)
OKLaboklab(50.87% 0.1063 -0.0726)
OKLCHoklch(50.87% 0.129 325.6)
XYZxyz(17.6059, 11.9620, 26.5757)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488D #4B8D48
analogous
#68488D #8A488D #8D486E
triadic
#8A488D #8D8A48 #488D8A
tetradic
#8A488D #8D6848 #4B8D48 #486E8D
square
#8A488D #8D6848 #4B8D48 #486E8D
split-complementary
#8A488D #6E8D48 #488D68
monochromatic
#3B1F3C #623364 #8A488D #AC63AF #C28BC4

Accessibility & contrast

On white

6.19
#8A488D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A488D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488D#FFFFFF#000000##FFFFFF
##8A488D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#8D5064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488d;
/* rgb */ color: rgb(138, 72, 141);
/* oklch */ color: oklch(50.9% 0.129 325.6);
Tailwind
colors: {
  custom: {
    50: '#ae7dae',
    500: '#8a488d',
    950: '#000000',
  },
}
SCSS
$custom: #8a488d;
$custom-light: #ae7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488d",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 297.391,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.12872,
    "h": 325.6
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#8A488D
secondary
#83B081
accent
#C95F64
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A488D

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

Preview Lab → · Contrast checker → · Palette generator →

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