#8A4183#8A4183

#8A4183 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.3% C 0.131 H 331.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8A4183
RGBrgb(138, 65, 131)
HSLhsl(306, 36%, 40%)
HSVhsv(306, 53%, 54%)
CMYKcmyk(0%, 52.9%, 5.1%, 45.9%)
CIE-LABlab(39.28, 40.46, -23.26)
CIE-LCHlch(39.28, 46.67, 330.11°)
OKLaboklab(49.33% 0.1149 -0.0635)
OKLCHoklch(49.33% 0.131 331.1)
XYZxyz(16.4682, 10.8236, 22.6901)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4183 #418A48
analogous
#6C418A #8A4183 #8A415F
triadic
#8A4183 #838A41 #41838A
tetradic
#8A4183 #8A6C41 #418A48 #415F8A
square
#8A4183 #8A6C41 #418A48 #415F8A
split-complementary
#8A4183 #5F8A41 #418A6C
monochromatic
#371A34 #602D5C #8A4183 #B058A8 #C482BE

Accessibility & contrast

On white

6.64
#8A4183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A4183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4183
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4183#FFFFFF#000000##FFFFFF
##8A41831.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4183;
/* rgb */ color: rgb(138, 65, 131);
/* oklch */ color: oklch(49.3% 0.131 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae79a7',
    500: '#8a4183',
    950: '#000000',
  },
}
SCSS
$custom: #8a4183;
$custom-light: #ae79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4183",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 305.753,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.13128,
    "h": 331.1
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#8A4183
secondary
#78AE7E
accent
#CC675C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4183

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

Preview Lab → · Contrast checker → · Palette generator →

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