#8A388A#8A388A

#8A388A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.5% C 0.152 H 327.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A388A
RGBrgb(138, 56, 138)
HSLhsl(300, 42%, 38%)
HSVhsv(300, 59%, 54%)
CMYKcmyk(0%, 59.4%, 0%, 45.9%)
CIE-LABlab(37.96, 46.22, -29.61)
CIE-LCHlch(37.96, 54.90, 327.35°)
OKLaboklab(48.47% 0.1287 -0.0816)
OKLCHoklch(48.47% 0.152 327.6)
XYZxyz(16.4826, 10.0676, 25.1149)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388A #388A38
analogous
#61388A #8A388A #8A3861
triadic
#8A388A #8A8A38 #388A8A
tetradic
#8A388A #8A6138 #388A38 #38618A
square
#8A388A #8A6138 #388A38 #38618A
split-complementary
#8A388A #618A38 #388A61
monochromatic
#331533 #5E265E #8A388A #B54AB5 #C775C7

Accessibility & contrast

On white

6.97
#8A388A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A388A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388A#FFFFFF#000000##FFFFFF
##8A388A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528D
Deuteranopia (green-blind)
#4B5D88
Tritanopia (blue-blind)
#8E425B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a388a;
/* rgb */ color: rgb(138, 56, 138);
/* oklch */ color: oklch(48.5% 0.152 327.6);
Tailwind
colors: {
  custom: {
    50: '#af74ac',
    500: '#8a388a',
    950: '#000000',
  },
}
SCSS
$custom: #8a388a;
$custom-light: #af74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388a",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.15237,
    "h": 327.6
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#8A388A
secondary
#6EB06E
accent
#D25656
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388A

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

Preview Lab → · Contrast checker → · Palette generator →

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