#8B458D#8B458D

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

Color values

HEX#8B458D
RGBrgb(139, 69, 141)
HSLhsl(298, 34%, 41%)
HSVhsv(298, 51%, 55%)
CMYKcmyk(1.4%, 51.1%, 0%, 44.7%)
CIE-LABlab(40.69, 40.56, -27.17)
CIE-LCHlch(40.69, 48.82, 326.19°)
OKLaboklab(50.55% 0.112 -0.0747)
OKLCHoklch(50.55% 0.135 326.3)
XYZxyz(17.5830, 11.6692, 26.5204)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B458D #478D45
analogous
#67458D #8B458D #8D456B
triadic
#8B458D #8D8B45 #458D8B
tetradic
#8B458D #8D6745 #478D45 #456B8D
square
#8B458D #8D6745 #478D45 #456B8D
split-complementary
#8B458D #6B8D45 #458D67
monochromatic
#3A1D3B #623164 #8B458D #AE5FB1 #C388C5

Accessibility & contrast

On white

6.30
#8B458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B458D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B458D#FFFFFF#000000##FFFFFF
##8B458D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b458d;
/* rgb */ color: rgb(139, 69, 141);
/* oklch */ color: oklch(50.5% 0.135 326.3);
Tailwind
colors: {
  custom: {
    50: '#af7cae',
    500: '#8b458d',
    950: '#000000',
  },
}
SCSS
$custom: #8b458d;
$custom-light: #af7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b458d",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 298.333,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.13458,
    "h": 326.3
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#8B458D
secondary
#7FB07E
accent
#CA5D60
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8B458D

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

Preview Lab → · Contrast checker → · Palette generator →

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