#8A398F#8A398F

#8A398F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.155 H 325.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A398F
RGBrgb(138, 57, 143)
HSLhsl(297, 43%, 39%)
HSVhsv(297, 60%, 56%)
CMYKcmyk(3.5%, 60.1%, 0%, 43.9%)
CIE-LABlab(38.40, 46.69, -31.98)
CIE-LCHlch(38.40, 56.59, 325.59°)
OKLaboklab(48.87% 0.1278 -0.0885)
OKLCHoklch(48.87% 0.155 325.3)
XYZxyz(16.9019, 10.3137, 27.0817)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A398F #3E8F39
analogous
#5F398F #8A398F #8F3969
triadic
#8A398F #8F8A39 #398F8A
tetradic
#8A398F #8F5F39 #3E8F39 #39698F
square
#8A398F #8F5F39 #3E8F39 #39698F
split-complementary
#8A398F #698F39 #398F5F
monochromatic
#361637 #602863 #8A398F #B24DB8 #C579CA

Accessibility & contrast

On white

6.86
#8A398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A398F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A398F#FFFFFF#000000##FFFFFF
##8A398F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#495E8D
Tritanopia (blue-blind)
#8D455E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a398f;
/* rgb */ color: rgb(138, 57, 143);
/* oklch */ color: oklch(48.9% 0.155 325.3);
Tailwind
colors: {
  custom: {
    50: '#af74b0',
    500: '#8a398f',
    950: '#000000',
  },
}
SCSS
$custom: #8a398f;
$custom-light: #af74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a398f",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 296.512,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.15544,
    "h": 325.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#8A398F
secondary
#75B371
accent
#D3555C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A398F

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

Preview Lab → · Contrast checker → · Palette generator →

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