#8A499F#8A499F

#8A499F is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.0% C 0.146 H 317.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A499F
RGBrgb(138, 73, 159)
HSLhsl(285, 37%, 45%)
HSVhsv(285, 54%, 62%)
CMYKcmyk(13.2%, 54.1%, 0%, 37.6%)
CIE-LABlab(42.27, 41.83, -35.54)
CIE-LCHlch(42.27, 54.89, 319.65°)
OKLaboklab(51.98% 0.1073 -0.0989)
OKLCHoklch(51.98% 0.146 317.3)
XYZxyz(19.1209, 12.6722, 34.2329)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499F #5E9F49
analogous
#5F499F #8A499F #9F4989
triadic
#8A499F #9F8A49 #499F8A
tetradic
#8A499F #9F5F49 #5E9F49 #49899F
square
#8A499F #9F5F49 #5E9F49 #49899F
split-complementary
#8A499F #899F49 #499F5F
monochromatic
#41224B #663675 #8A499F #A76ABB #C094CE

Accessibility & contrast

On white

5.94
#8A499F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A499F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A499F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499F#FFFFFF#000000##FFFFFF
##8A499F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#89566D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a499f;
/* rgb */ color: rgb(138, 73, 159);
/* oklch */ color: oklch(52.0% 0.146 317.3);
Tailwind
colors: {
  custom: {
    50: '#ae7ebc',
    500: '#8a499f',
    950: '#000000',
  },
}
SCSS
$custom: #8a499f;
$custom-light: #ae7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499f",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 285.349,
    "s": 37.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.1459,
    "h": 317.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#8A499F
secondary
#96BA8A
accent
#CD5B77
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A499F

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

Preview Lab → · Contrast checker → · Palette generator →

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