#8A388B#8A388B

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

Color values

HEX#8A388B
RGBrgb(138, 56, 139)
HSLhsl(299, 43%, 38%)
HSVhsv(299, 60%, 55%)
CMYKcmyk(0.7%, 59.7%, 0%, 45.5%)
CIE-LABlab(38.02, 46.41, -30.15)
CIE-LCHlch(38.02, 55.34, 326.99°)
OKLaboklab(48.52% 0.1288 -0.0831)
OKLCHoklch(48.52% 0.153 327.1)
XYZxyz(16.5553, 10.0967, 25.4980)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388B #398B38
analogous
#60388B #8A388B #8B3862
triadic
#8A388B #8B8A38 #388B8A
tetradic
#8A388B #8B6038 #398B38 #38628B
square
#8A388B #8B6038 #398B38 #38628B
split-complementary
#8A388B #628B38 #388B60
monochromatic
#331534 #5F265F #8A388B #B54AB6 #C776C8

Accessibility & contrast

On white

6.96
#8A388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A388B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388B#FFFFFF#000000##FFFFFF
##8A388B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#8E425C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a388b;
/* rgb */ color: rgb(138, 56, 139);
/* oklch */ color: oklch(48.5% 0.153 327.1);
Tailwind
colors: {
  custom: {
    50: '#af74ad',
    500: '#8a388b',
    950: '#000000',
  },
}
SCSS
$custom: #8a388b;
$custom-light: #af74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388b",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 299.277,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.15328,
    "h": 327.1
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#8A388B
secondary
#6FB16E
accent
#D25557
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388B

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

Preview Lab → · Contrast checker → · Palette generator →

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