#8A4083#8A4083

#8A4083 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.2% C 0.133 H 331.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8A4083
RGBrgb(138, 64, 131)
HSLhsl(306, 37%, 40%)
HSVhsv(306, 54%, 54%)
CMYKcmyk(0%, 53.6%, 5.1%, 45.9%)
CIE-LABlab(39.09, 40.98, -23.56)
CIE-LCHlch(39.09, 47.27, 330.10°)
OKLaboklab(49.18% 0.1164 -0.0643)
OKLCHoklch(49.18% 0.133 331.1)
XYZxyz(16.4113, 10.7098, 22.6711)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4083 #408A47
analogous
#6C408A #8A4083 #8A405E
triadic
#8A4083 #838A40 #40838A
tetradic
#8A4083 #8A6C40 #408A47 #405E8A
square
#8A4083 #8A6C40 #408A47 #405E8A
split-complementary
#8A4083 #5E8A40 #408A6C
monochromatic
#361934 #602D5B #8A4083 #B156A8 #C480BE

Accessibility & contrast

On white

6.68
#8A4083 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4083
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4083#FFFFFF#000000##FFFFFF
##8A40831.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5585
Deuteranopia (green-blind)
#536081
Tritanopia (blue-blind)
#8F465B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4083;
/* rgb */ color: rgb(138, 64, 131);
/* oklch */ color: oklch(49.2% 0.133 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae78a7',
    500: '#8a4083',
    950: '#000000',
  },
}
SCSS
$custom: #8a4083;
$custom-light: #ae78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4083",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 305.676,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.13299,
    "h": 331.1
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#8A4083
secondary
#77AF7C
accent
#CD665B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4083

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

Preview Lab → · Contrast checker → · Palette generator →

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