#8A458D#8A458D

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

Color values

HEX#8A458D
RGBrgb(138, 69, 141)
HSLhsl(298, 34%, 41%)
HSVhsv(298, 51%, 55%)
CMYKcmyk(2.1%, 51.1%, 0%, 44.7%)
CIE-LABlab(40.55, 40.26, -27.40)
CIE-LCHlch(40.55, 48.70, 325.77°)
OKLaboklab(50.42% 0.1107 -0.0753)
OKLCHoklch(50.42% 0.134 325.8)
XYZxyz(17.4167, 11.5835, 26.5126)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458D #488D45
analogous
#66458D #8A458D #8D456C
triadic
#8A458D #8D8A45 #458D8A
tetradic
#8A458D #8D6645 #488D45 #456C8D
square
#8A458D #8D6645 #488D45 #456C8D
split-complementary
#8A458D #6C8D45 #458D66
monochromatic
#3A1D3B #623164 #8A458D #AD5FB1 #C288C5

Accessibility & contrast

On white

6.33
#8A458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A458D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458D#FFFFFF#000000##FFFFFF
##8A458D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#8D4D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a458d;
/* rgb */ color: rgb(138, 69, 141);
/* oklch */ color: oklch(50.4% 0.134 325.8);
Tailwind
colors: {
  custom: {
    50: '#ae7cae',
    500: '#8a458d',
    950: '#000000',
  },
}
SCSS
$custom: #8a458d;
$custom-light: #ae7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458d",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 297.5,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.13393,
    "h": 325.8
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#8A458D
secondary
#80B07E
accent
#CA5D62
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458D

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

Preview Lab → · Contrast checker → · Palette generator →

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