#8A388E#8A388E

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

Color values

HEX#8A388E
RGBrgb(138, 56, 142)
HSLhsl(297, 43%, 39%)
HSVhsv(297, 61%, 56%)
CMYKcmyk(2.8%, 60.6%, 0%, 44.3%)
CIE-LABlab(38.17, 46.97, -31.73)
CIE-LCHlch(38.17, 56.69, 325.96°)
OKLaboklab(48.69% 0.129 -0.0877)
OKLCHoklch(48.69% 0.156 325.8)
XYZxyz(16.7775, 10.1856, 26.6683)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A388E #3C8E38
analogous
#5F388E #8A388E #8E3867
triadic
#8A388E #8E8A38 #388E8A
tetradic
#8A388E #8E5F38 #3C8E38 #38678E
square
#8A388E #8E5F38 #3C8E38 #38678E
split-complementary
#8A388E #678E38 #388E5F
monochromatic
#351536 #5F2762 #8A388E #B34BB8 #C677C9

Accessibility & contrast

On white

6.91
#8A388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A388E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A388E#FFFFFF#000000##FFFFFF
##8A388E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#495D8C
Tritanopia (blue-blind)
#8D435E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a388e;
/* rgb */ color: rgb(138, 56, 142);
/* oklch */ color: oklch(48.7% 0.156 325.8);
Tailwind
colors: {
  custom: {
    50: '#af74af',
    500: '#8a388e',
    950: '#000000',
  },
}
SCSS
$custom: #8a388e;
$custom-light: #af74af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a388e",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 297.209,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.15604,
    "h": 325.8
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#8A388E
secondary
#73B26F
accent
#D3555B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A388E

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

Preview Lab → · Contrast checker → · Palette generator →

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