#8A388D#8A388D

#8A388D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.6% C 0.155 H 326.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A388D
RGBrgb(138, 56, 141)
HSLhsl(298, 43%, 39%)
HSVhsv(298, 60%, 55%)
CMYKcmyk(2.1%, 60.3%, 0%, 44.7%)
CIE-LABlab(38.12, 46.78, -31.20)
CIE-LCHlch(38.12, 56.24, 326.30°)
OKLaboklab(48.64% 0.129 -0.0862)
OKLCHoklch(48.64% 0.155 326.2)
XYZxyz(16.7028, 10.1557, 26.2746)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388D #3B8D38
analogous
#5F388D #8A388D #8D3865
triadic
#8A388D #8D8A38 #388D8A
tetradic
#8A388D #8D5F38 #3B8D38 #38658D
square
#8A388D #8D5F38 #3B8D38 #38658D
split-complementary
#8A388D #658D38 #388D5F
monochromatic
#341535 #5F2761 #8A388D #B44BB7 #C677C9

Accessibility & contrast

On white

6.93
#8A388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A388D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388D#FFFFFF#000000##FFFFFF
##8A388D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#495D8B
Tritanopia (blue-blind)
#8E435D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a388d;
/* rgb */ color: rgb(138, 56, 141);
/* oklch */ color: oklch(48.6% 0.155 326.2);
Tailwind
colors: {
  custom: {
    50: '#af74ae',
    500: '#8a388d',
    950: '#000000',
  },
}
SCSS
$custom: #8a388d;
$custom-light: #af74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388d",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 297.882,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.15511,
    "h": 326.2
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#8A388D
secondary
#71B26F
accent
#D35559
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388D

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

Preview Lab → · Contrast checker → · Palette generator →

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