#8A458F#8A458F

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

Color values

HEX#8A458F
RGBrgb(138, 69, 143)
HSLhsl(296, 35%, 42%)
HSVhsv(296, 52%, 56%)
CMYKcmyk(3.5%, 51.7%, 0%, 43.9%)
CIE-LABlab(40.64, 40.66, -28.46)
CIE-LCHlch(40.64, 49.63, 325.01°)
OKLaboklab(50.52% 0.111 -0.0784)
OKLCHoklch(50.52% 0.136 324.8)
XYZxyz(17.5669, 11.6436, 27.3034)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A458F #4A8F45
analogous
#65458F #8A458F #8F456F
triadic
#8A458F #8F8A45 #458F8A
tetradic
#8A458F #8F6545 #4A8F45 #456F8F
square
#8A458F #8F6545 #4A8F45 #456F8F
split-complementary
#8A458F #6F8F45 #458F65
monochromatic
#3A1D3C #623166 #8A458F #AC5FB2 #C289C6

Accessibility & contrast

On white

6.31
#8A458F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A458F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A458F#FFFFFF#000000##FFFFFF
##8A458F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a458f;
/* rgb */ color: rgb(138, 69, 143);
/* oklch */ color: oklch(50.5% 0.136 324.8);
Tailwind
colors: {
  custom: {
    50: '#ae7cb0',
    500: '#8a458f',
    950: '#000000',
  },
}
SCSS
$custom: #8a458f;
$custom-light: #ae7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a458f",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 295.946,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.13592,
    "h": 324.8
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#8A458F
secondary
#82B17F
accent
#CB5D64
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A458F

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

Preview Lab → · Contrast checker → · Palette generator →

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