#8A5F92#8A5F92

#8A5F92 is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.0% C 0.092 H 321.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A5F92
RGBrgb(138, 95, 146)
HSLhsl(291, 21%, 47%)
HSVhsv(291, 35%, 57%)
CMYKcmyk(5.5%, 34.9%, 0%, 42.7%)
CIE-LABlab(46.53, 26.68, -21.12)
CIE-LCHlch(46.53, 34.03, 321.63°)
OKLaboklab(54.97% 0.0715 -0.0577)
OKLCHoklch(54.97% 0.092 321.1)
XYZxyz(19.7611, 15.6636, 29.1710)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5F92 #67925F
analogous
#705F92 #8A5F92 #925F81
triadic
#8A5F92 #928A5F #5F928A
tetradic
#8A5F92 #92705F #67925F #5F8192
square
#8A5F92 #92705F #67925F #5F8192
split-complementary
#8A5F92 #81925F #5F9270
monochromatic
#442F48 #67476D #8A5F92 #A681AD #C0A6C5

Accessibility & contrast

On white

5.08
#8A5F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8A5F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5F92
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5F92#FFFFFF#000000##FFFFFF
##8A5F921.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596B94
Deuteranopia (green-blind)
#647090
Tritanopia (blue-blind)
#8B6572
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a5f92;
/* rgb */ color: rgb(138, 95, 146);
/* oklch */ color: oklch(55.0% 0.092 321.1);
Tailwind
colors: {
  custom: {
    50: '#ad8db2',
    500: '#8a5f92',
    950: '#000000',
  },
}
SCSS
$custom: #8a5f92;
$custom-light: #ad8db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5f92",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 146
  },
  "hsl": {
    "h": 290.588,
    "s": 21.162,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.09185,
    "h": 321.1
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#8A5F92
secondary
#9DB499
accent
#BE6A77
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A5F92

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

Preview Lab → · Contrast checker → · Palette generator →

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