#8A3D8D#8A3D8D

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

Color values

HEX#8A3D8D
RGBrgb(138, 61, 141)
HSLhsl(298, 40%, 40%)
HSVhsv(298, 57%, 55%)
CMYKcmyk(2.1%, 56.7%, 0%, 44.7%)
CIE-LABlab(39.01, 44.37, -29.80)
CIE-LCHlch(39.01, 53.45, 326.11°)
OKLaboklab(49.29% 0.1222 -0.0822)
OKLCHoklch(49.29% 0.147 326.1)
XYZxyz(16.9574, 10.6648, 26.3595)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D8D #408D3D
analogous
#623D8D #8A3D8D #8D3D68
triadic
#8A3D8D #8D8A3D #3D8D8A
tetradic
#8A3D8D #8D623D #408D3D #3D688D
square
#8A3D8D #8D623D #408D3D #3D688D
split-complementary
#8A3D8D #688D3D #3D8D62
monochromatic
#361838 #602B62 #8A3D8D #B153B4 #C47DC7

Accessibility & contrast

On white

6.70
#8A3D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A3D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D8D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D8D#FFFFFF#000000##FFFFFF
##8A3D8D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#8D475F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3d8d;
/* rgb */ color: rgb(138, 61, 141);
/* oklch */ color: oklch(49.3% 0.147 326.1);
Tailwind
colors: {
  custom: {
    50: '#ae77ae',
    500: '#8a3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d8d;
$custom-light: #ae77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d8d",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 297.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.14727,
    "h": 326.1
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#8A3D8D
secondary
#77B175
accent
#CF585D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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