#8D458E#8D458E

#8D458E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.9% C 0.137 H 326.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D458E
RGBrgb(141, 69, 142)
HSLhsl(299, 35%, 41%)
HSVhsv(299, 51%, 56%)
CMYKcmyk(0.7%, 51.4%, 0%, 44.3%)
CIE-LABlab(41.01, 41.36, -27.24)
CIE-LCHlch(41.01, 49.52, 326.63°)
OKLaboklab(50.87% 0.1146 -0.0748)
OKLCHoklch(50.87% 0.137 326.8)
XYZxyz(17.9948, 11.8729, 26.9298)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D458E #468E45
analogous
#69458E #8D458E #8E456B
triadic
#8D458E #8E8D45 #458E8D
tetradic
#8D458E #8E6945 #468E45 #456B8E
square
#8D458E #8E6945 #468E45 #456B8E
split-complementary
#8D458E #6B8E45 #458E69
monochromatic
#3B1D3C #643165 #8D458E #B05FB1 #C488C5

Accessibility & contrast

On white

6.22
#8D458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D458E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D458E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D458E#FFFFFF#000000##FFFFFF
##8D458E1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#914D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d458e;
/* rgb */ color: rgb(141, 69, 142);
/* oklch */ color: oklch(50.9% 0.137 326.8);
Tailwind
colors: {
  custom: {
    50: '#b07caf',
    500: '#8d458e',
    950: '#000000',
  },
}
SCSS
$custom: #8d458e;
$custom-light: #b07caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d458e",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 299.178,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.13683,
    "h": 326.8
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#8D458E
secondary
#7FB07E
accent
#CB5D5F
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D458E

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

Preview Lab → · Contrast checker → · Palette generator →

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