#8A488E#8A488E

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

Color values

HEX#8A488E
RGBrgb(138, 72, 142)
HSLhsl(297, 33%, 42%)
HSVhsv(297, 49%, 56%)
CMYKcmyk(2.8%, 49.3%, 0%, 44.3%)
CIE-LABlab(41.20, 38.86, -26.98)
CIE-LCHlch(41.20, 47.30, 325.23°)
OKLaboklab(50.92% 0.1064 -0.0742)
OKLCHoklch(50.92% 0.13 325.1)
XYZxyz(17.6807, 11.9919, 26.9693)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488E #4C8E48
analogous
#67488E #8A488E #8E486F
triadic
#8A488E #8E8A48 #488E8A
tetradic
#8A488E #8E6748 #4C8E48 #486F8E
square
#8A488E #8E6748 #4C8E48 #486F8E
split-complementary
#8A488E #6F8E48 #488E67
monochromatic
#3B1F3D #633365 #8A488E #AC63B0 #C18CC5

Accessibility & contrast

On white

6.18
#8A488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A488E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488E#FFFFFF#000000##FFFFFF
##8A488E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#8D5064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488e;
/* rgb */ color: rgb(138, 72, 142);
/* oklch */ color: oklch(50.9% 0.130 325.1);
Tailwind
colors: {
  custom: {
    50: '#ae7daf',
    500: '#8a488e',
    950: '#000000',
  },
}
SCSS
$custom: #8a488e;
$custom-light: #ae7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488e",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 296.571,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.12973,
    "h": 325.1
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A488E

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

Preview Lab → · Contrast checker → · Palette generator →

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