#8A3E7E#8A3E7E

#8A3E7E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.7% C 0.132 H 333.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3E7E
RGBrgb(138, 62, 126)
HSLhsl(309, 38%, 39%)
HSVhsv(309, 55%, 54%)
CMYKcmyk(0%, 55.1%, 8.7%, 45.9%)
CIE-LABlab(38.47, 41.10, -21.44)
CIE-LCHlch(38.47, 46.36, 332.46°)
OKLaboklab(48.65% 0.1184 -0.0582)
OKLCHoklch(48.65% 0.132 333.8)
XYZxyz(15.9698, 10.3560, 20.8924)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E7E #3E8A4A
analogous
#703E8A #8A3E7E #8A3E58
triadic
#8A3E7E #7E8A3E #3E7E8A
tetradic
#8A3E7E #8A703E #3E8A4A #3E588A
square
#8A3E7E #8A703E #3E8A4A #3E588A
split-complementary
#8A3E7E #588A3E #3E8A70
monochromatic
#361831 #602B57 #8A3E7E #B253A3 #C57EBA

Accessibility & contrast

On white

6.84
#8A3E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E7E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E7E#FFFFFF#000000##FFFFFF
##8A3E7E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#904358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3e7e;
/* rgb */ color: rgb(138, 62, 126);
/* oklch */ color: oklch(48.7% 0.132 333.8);
Tailwind
colors: {
  custom: {
    50: '#ae77a3',
    500: '#8a3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e7e;
$custom-light: #ae77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e7e",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 309.474,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.13195,
    "h": 333.8
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#8A3E7E
secondary
#75AF7E
accent
#CE6C5A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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