#8A388C#8A388C

#8A388C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.154 H 326.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A388C
RGBrgb(138, 56, 140)
HSLhsl(299, 43%, 38%)
HSVhsv(299, 60%, 55%)
CMYKcmyk(1.4%, 60%, 0%, 45.1%)
CIE-LABlab(38.07, 46.60, -30.68)
CIE-LCHlch(38.07, 55.79, 326.64°)
OKLaboklab(48.58% 0.1289 -0.0847)
OKLCHoklch(48.58% 0.154 326.7)
XYZxyz(16.6287, 10.1261, 25.8845)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388C #3A8C38
analogous
#60388C #8A388C #8C3864
triadic
#8A388C #8C8A38 #388C8A
tetradic
#8A388C #8C6038 #3A8C38 #38648C
square
#8A388C #8C6038 #3A8C38 #38648C
split-complementary
#8A388C #648C38 #388C60
monochromatic
#341535 #5F2760 #8A388C #B44AB7 #C676C8

Accessibility & contrast

On white

6.94
#8A388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A388C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388C#FFFFFF#000000##FFFFFF
##8A388C1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#4A5D8A
Tritanopia (blue-blind)
#8E435D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a388c;
/* rgb */ color: rgb(138, 56, 140);
/* oklch */ color: oklch(48.6% 0.154 326.7);
Tailwind
colors: {
  custom: {
    50: '#af74ae',
    500: '#8a388c',
    950: '#000000',
  },
}
SCSS
$custom: #8a388c;
$custom-light: #af74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388c",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 298.571,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.15419,
    "h": 326.7
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#8A388C
secondary
#70B16F
accent
#D35558
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388C

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

Preview Lab → · Contrast checker → · Palette generator →

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