#8A388F#8A388F

#8A388F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.7% C 0.157 H 325.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A388F
RGBrgb(138, 56, 143)
HSLhsl(297, 44%, 39%)
HSVhsv(297, 61%, 56%)
CMYKcmyk(3.5%, 60.8%, 0%, 43.9%)
CIE-LABlab(38.23, 47.16, -32.26)
CIE-LCHlch(38.23, 57.14, 325.63°)
OKLaboklab(48.75% 0.1291 -0.0893)
OKLCHoklch(48.75% 0.157 325.3)
XYZxyz(16.8530, 10.2158, 27.0654)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388F #3D8F38
analogous
#5F388F #8A388F #8F3869
triadic
#8A388F #8F8A38 #388F8A
tetradic
#8A388F #8F5F38 #3D8F38 #38698F
square
#8A388F #8F5F38 #3D8F38 #38698F
split-complementary
#8A388F #698F38 #388F5F
monochromatic
#351637 #602763 #8A388F #B24BB9 #C577CA

Accessibility & contrast

On white

6.90
#8A388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A388F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388F#FFFFFF#000000##FFFFFF
##8A388F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#8D445E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a388f;
/* rgb */ color: rgb(138, 56, 143);
/* oklch */ color: oklch(48.7% 0.157 325.3);
Tailwind
colors: {
  custom: {
    50: '#af74b0',
    500: '#8a388f',
    950: '#000000',
  },
}
SCSS
$custom: #8a388f;
$custom-light: #af74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388f",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 296.552,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.15697,
    "h": 325.3
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#8A388F
secondary
#74B370
accent
#D3545C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388F

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

Preview Lab → · Contrast checker → · Palette generator →

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