#8A458E#8A458E

#8A458E is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.5% C 0.135 H 325.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A458E
RGBrgb(138, 69, 142)
HSLhsl(297, 35%, 41%)
HSVhsv(297, 51%, 56%)
CMYKcmyk(2.8%, 51.4%, 0%, 44.3%)
CIE-LABlab(40.59, 40.46, -27.93)
CIE-LCHlch(40.59, 49.16, 325.38°)
OKLaboklab(50.47% 0.1109 -0.0769)
OKLCHoklch(50.47% 0.135 325.3)
XYZxyz(17.4914, 11.6134, 26.9062)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458E #498E45
analogous
#66458E #8A458E #8E456E
triadic
#8A458E #8E8A45 #458E8A
tetradic
#8A458E #8E6645 #498E45 #456E8E
square
#8A458E #8E6645 #498E45 #456E8E
split-complementary
#8A458E #6E8E45 #458E66
monochromatic
#3A1D3C #623165 #8A458E #AD5FB1 #C288C5

Accessibility & contrast

On white

6.32
#8A458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A458E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458E#FFFFFF#000000##FFFFFF
##8A458E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#8D4E63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a458e;
/* rgb */ color: rgb(138, 69, 142);
/* oklch */ color: oklch(50.5% 0.135 325.3);
Tailwind
colors: {
  custom: {
    50: '#ae7caf',
    500: '#8a458e',
    950: '#000000',
  },
}
SCSS
$custom: #8a458e;
$custom-light: #ae7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458e",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 296.712,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.13493,
    "h": 325.3
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#8A458E
secondary
#81B07E
accent
#CB5D63
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458E

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

Preview Lab → · Contrast checker → · Palette generator →

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