#8A3E8A#8A3E8A

#8A3E8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.3% C 0.143 H 327.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A3E8A
RGBrgb(138, 62, 138)
HSLhsl(300, 38%, 39%)
HSVhsv(300, 55%, 54%)
CMYKcmyk(0%, 55.1%, 0%, 45.9%)
CIE-LABlab(39.04, 43.30, -27.92)
CIE-LCHlch(39.04, 51.52, 327.18°)
OKLaboklab(49.26% 0.1204 -0.0768)
OKLCHoklch(49.26% 0.143 327.5)
XYZxyz(16.7910, 10.6845, 25.2177)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E8A #3E8A3E
analogous
#643E8A #8A3E8A #8A3E64
triadic
#8A3E8A #8A8A3E #3E8A8A
tetradic
#8A3E8A #8A643E #3E8A3E #3E648A
square
#8A3E8A #8A643E #3E8A3E #3E648A
split-complementary
#8A3E8A #648A3E #3E8A64
monochromatic
#361836 #602B60 #8A3E8A #B253B2 #C57EC5

Accessibility & contrast

On white

6.69
#8A3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E8A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E8A#FFFFFF#000000##FFFFFF
##8A3E8A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#8E475E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3e8a;
/* rgb */ color: rgb(138, 62, 138);
/* oklch */ color: oklch(49.3% 0.143 327.5);
Tailwind
colors: {
  custom: {
    50: '#ae77ac',
    500: '#8a3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e8a;
$custom-light: #ae77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e8a",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.14281,
    "h": 327.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#8A3E8A
secondary
#75AF75
accent
#CE5A5A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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