#8A458C#8A458C

#8A458C is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.4% C 0.133 H 326.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A458C
RGBrgb(138, 69, 140)
HSLhsl(298, 34%, 41%)
HSVhsv(298, 51%, 55%)
CMYKcmyk(1.4%, 50.7%, 0%, 45.1%)
CIE-LABlab(40.50, 40.07, -26.86)
CIE-LCHlch(40.50, 48.24, 326.16°)
OKLaboklab(50.36% 0.1106 -0.0738)
OKLCHoklch(50.36% 0.133 326.3)
XYZxyz(17.3426, 11.5539, 26.1225)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458C #478C45
analogous
#66458C #8A458C #8C456A
triadic
#8A458C #8C8A45 #458C8A
tetradic
#8A458C #8C6645 #478C45 #456A8C
square
#8A458C #8C6645 #478C45 #456A8C
split-complementary
#8A458C #6A8C45 #458C66
monochromatic
#391D3A #623163 #8A458C #AE5EB0 #C287C4

Accessibility & contrast

On white

6.34
#8A458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A458C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458C#FFFFFF#000000##FFFFFF
##8A458C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#8D4D62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a458c;
/* rgb */ color: rgb(138, 69, 140);
/* oklch */ color: oklch(50.4% 0.133 326.3);
Tailwind
colors: {
  custom: {
    50: '#ae7cae',
    500: '#8a458c',
    950: '#000000',
  },
}
SCSS
$custom: #8a458c;
$custom-light: #ae7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458c",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 298.31,
    "s": 33.971,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.13295,
    "h": 326.3
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#8A458C
secondary
#7FAF7E
accent
#CA5E61
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458C

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

Preview Lab → · Contrast checker → · Palette generator →

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