#8A3F89#8A3F89

#8A3F89 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.3% C 0.140 H 327.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3F89
RGBrgb(138, 63, 137)
HSLhsl(301, 37%, 39%)
HSVhsv(301, 54%, 54%)
CMYKcmyk(0%, 54.3%, 0.7%, 45.9%)
CIE-LABlab(39.18, 42.60, -27.09)
CIE-LCHlch(39.18, 50.49, 327.55°)
OKLaboklab(49.35% 0.1189 -0.0744)
OKLCHoklch(49.35% 0.14 327.9)
XYZxyz(16.7738, 10.7654, 24.8565)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F89 #3F8A40
analogous
#663F8A #8A3F89 #8A3F64
triadic
#8A3F89 #898A3F #3F898A
tetradic
#8A3F89 #8A663F #3F8A40 #3F648A
square
#8A3F89 #8A663F #3F8A40 #3F648A
split-complementary
#8A3F89 #648A3F #3F8A66
monochromatic
#361936 #602C5F #8A3F89 #B155B0 #C57FC4

Accessibility & contrast

On white

6.66
#8A3F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A3F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F89
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F89#FFFFFF#000000##FFFFFF
##8A3F891.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568B
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#8E475E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3f89;
/* rgb */ color: rgb(138, 63, 137);
/* oklch */ color: oklch(49.3% 0.140 327.9);
Tailwind
colors: {
  custom: {
    50: '#ae78ab',
    500: '#8a3f89',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f89;
$custom-light: #ae78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f89",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 300.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.14023,
    "h": 327.9
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#8A3F89
secondary
#76AF77
accent
#CD5C5B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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