#8A458A#8A458A

#8A458A is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.3% C 0.131 H 327.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A458A
RGBrgb(138, 69, 138)
HSLhsl(300, 33%, 41%)
HSVhsv(300, 50%, 54%)
CMYKcmyk(0%, 50%, 0%, 45.9%)
CIE-LABlab(40.40, 39.68, -25.80)
CIE-LCHlch(40.40, 47.33, 326.97°)
OKLaboklab(50.26% 0.1102 -0.0707)
OKLCHoklch(50.26% 0.131 327.3)
XYZxyz(17.1965, 11.4954, 25.3529)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458A #458A45
analogous
#67458A #8A458A #8A4567
triadic
#8A458A #8A8A45 #458A8A
tetradic
#8A458A #8A6745 #458A45 #45678A
square
#8A458A #8A6745 #458A45 #45678A
split-complementary
#8A458A #678A45 #458A67
monochromatic
#381C38 #613161 #8A458A #AE5EAE #C387C3

Accessibility & contrast

On white

6.37
#8A458A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A458A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A458A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458A#FFFFFF#000000##FFFFFF
##8A458A1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#536288
Tritanopia (blue-blind)
#8E4C61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a458a;
/* rgb */ color: rgb(138, 69, 138);
/* oklch */ color: oklch(50.3% 0.131 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae7bac',
    500: '#8a458a',
    950: '#000000',
  },
}
SCSS
$custom: #8a458a;
$custom-light: #ae7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458a",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.13098,
    "h": 327.3
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#8A458A
secondary
#7DAE7D
accent
#C95E5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458A

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

Preview Lab → · Contrast checker → · Palette generator →

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