#8A3E8D#8A3E8D

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

Color values

HEX#8A3E8D
RGBrgb(138, 62, 141)
HSLhsl(298, 39%, 40%)
HSVhsv(298, 56%, 55%)
CMYKcmyk(2.1%, 56%, 0%, 44.7%)
CIE-LABlab(39.19, 43.87, -29.51)
CIE-LCHlch(39.19, 52.87, 326.07°)
OKLaboklab(49.42% 0.1208 -0.0814)
OKLCHoklch(49.42% 0.146 326)
XYZxyz(17.0112, 10.7726, 26.3774)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E8D #418D3E
analogous
#633E8D #8A3E8D #8D3E68
triadic
#8A3E8D #8D8A3E #3E8D8A
tetradic
#8A3E8D #8D633E #418D3E #3E688D
square
#8A3E8D #8D633E #418D3E #3E688D
split-complementary
#8A3E8D #688D3E #3E8D63
monochromatic
#371938 #602B62 #8A3E8D #B054B4 #C47FC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3E8D#FFFFFF#000000##FFFFFF
##8A3E8D1.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)
#345690
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#8D485F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3e8d;
/* rgb */ color: rgb(138, 62, 141);
/* oklch */ color: oklch(49.4% 0.146 326.0);
Tailwind
colors: {
  custom: {
    50: '#ae77ae',
    500: '#8a3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e8d;
$custom-light: #ae77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e8d",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 297.722,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.14565,
    "h": 326
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#8A3E8D
secondary
#78B176
accent
#CF595D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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