#8A3E76#8A3E76

#8A3E76 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.3% C 0.125 H 338.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3E76
RGBrgb(138, 62, 118)
HSLhsl(316, 38%, 39%)
HSVhsv(316, 55%, 54%)
CMYKcmyk(0%, 55.1%, 14.5%, 45.9%)
CIE-LABlab(38.12, 39.73, -17.02)
CIE-LCHlch(38.12, 43.22, 336.81°)
OKLaboklab(48.28% 0.1166 -0.0458)
OKLCHoklch(48.28% 0.125 338.6)
XYZxyz(15.4741, 10.1577, 18.2817)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E76 #3E8A52
analogous
#783E8A #8A3E76 #8A3E50
triadic
#8A3E76 #768A3E #3E768A
tetradic
#8A3E76 #8A783E #3E8A52 #3E508A
square
#8A3E76 #8A783E #3E8A52 #3E508A
split-complementary
#8A3E76 #508A3E #3E8A78
monochromatic
#36182E #602B52 #8A3E76 #B25399 #C57EB2

Accessibility & contrast

On white

6.93
#8A3E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E76
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E76#FFFFFF#000000##FFFFFF
##8A3E761.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415278
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#914054
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3e76;
/* rgb */ color: rgb(138, 62, 118);
/* oklch */ color: oklch(48.3% 0.125 338.6);
Tailwind
colors: {
  custom: {
    50: '#ae779d',
    500: '#8a3e76',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e76;
$custom-light: #ae779d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e76",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 315.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.12531,
    "h": 338.6
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#8A3E76
secondary
#75AF84
accent
#CE785A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3E76

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

Preview Lab → · Contrast checker → · Palette generator →

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