#8A458B#8A458B

#8A458B is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.3% C 0.132 H 326.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A458B
RGBrgb(138, 69, 139)
HSLhsl(299, 34%, 41%)
HSVhsv(299, 50%, 55%)
CMYKcmyk(0.7%, 50.4%, 0%, 45.5%)
CIE-LABlab(40.45, 39.87, -26.33)
CIE-LCHlch(40.45, 47.78, 326.56°)
OKLaboklab(50.31% 0.1104 -0.0723)
OKLCHoklch(50.31% 0.132 326.8)
XYZxyz(17.2692, 11.5245, 25.7359)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458B #468B45
analogous
#67458B #8A458B #8B4569
triadic
#8A458B #8B8A45 #458B8A
tetradic
#8A458B #8B6745 #468B45 #45698B
square
#8A458B #8B6745 #468B45 #45698B
split-complementary
#8A458B #698B45 #458B67
monochromatic
#391C39 #613162 #8A458B #AE5EAF #C387C3

Accessibility & contrast

On white

6.35
#8A458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A458B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A458B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458B#FFFFFF#000000##FFFFFF
##8A458B1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#536289
Tritanopia (blue-blind)
#8D4D61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a458b;
/* rgb */ color: rgb(138, 69, 139);
/* oklch */ color: oklch(50.3% 0.132 326.8);
Tailwind
colors: {
  custom: {
    50: '#ae7cad',
    500: '#8a458b',
    950: '#000000',
  },
}
SCSS
$custom: #8a458b;
$custom-light: #ae7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458b",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 299.143,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.13196,
    "h": 326.8
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#8A458B
secondary
#7EAF7D
accent
#CA5E60
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458B

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

Preview Lab → · Contrast checker → · Palette generator →

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