#8D458B#8D458B

#8D458B is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.7% C 0.134 H 328.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D458B
RGBrgb(141, 69, 139)
HSLhsl(302, 34%, 41%)
HSVhsv(302, 51%, 55%)
CMYKcmyk(0%, 51.1%, 1.4%, 44.7%)
CIE-LABlab(40.87, 40.78, -25.64)
CIE-LCHlch(40.87, 48.18, 327.84°)
OKLaboklab(50.71% 0.1141 -0.0703)
OKLCHoklch(50.71% 0.134 328.4)
XYZxyz(17.7726, 11.7841, 25.7595)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D458B #458D47
analogous
#6B458D #8D458B #8D4567
triadic
#8D458B #8B8D45 #458B8D
tetradic
#8D458B #8D6B45 #458D47 #45678D
square
#8D458B #8D6B45 #458D47 #45678D
split-complementary
#8D458B #678D45 #458D6B
monochromatic
#3B1D3A #643162 #8D458B #B15FAE #C588C3

Accessibility & contrast

On white

6.26
#8D458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D458B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D458B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D458B#FFFFFF#000000##FFFFFF
##8D458B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#914C62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d458b;
/* rgb */ color: rgb(141, 69, 139);
/* oklch */ color: oklch(50.7% 0.134 328.4);
Tailwind
colors: {
  custom: {
    50: '#b07cad',
    500: '#8d458b',
    950: '#000000',
  },
}
SCSS
$custom: #8d458b;
$custom-light: #b07cad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d458b",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 301.667,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.13395,
    "h": 328.4
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#8D458B
secondary
#7EB07F
accent
#CA605D
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D458B

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

Preview Lab → · Contrast checker → · Palette generator →

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