#8A489F#8A489F

#8A489F is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.148 H 317.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A489F
RGBrgb(138, 72, 159)
HSLhsl(286, 38%, 45%)
HSVhsv(286, 55%, 62%)
CMYKcmyk(13.2%, 54.7%, 0%, 37.6%)
CIE-LABlab(42.06, 42.36, -35.86)
CIE-LCHlch(42.06, 55.50, 319.75°)
OKLaboklab(51.84% 0.1087 -0.0998)
OKLCHoklch(51.84% 0.148 317.4)
XYZxyz(19.0557, 12.5419, 34.2112)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489F #5D9F48
analogous
#5E489F #8A489F #9F4888
triadic
#8A489F #9F8A48 #489F8A
tetradic
#8A489F #9F5E48 #5D9F48 #48889F
square
#8A489F #9F5E48 #5D9F48 #48889F
split-complementary
#8A489F #889F48 #489F5E
monochromatic
#41224B #653575 #8A489F #A769BB #C093CE

Accessibility & contrast

On white

5.99
#8A489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A489F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489F#FFFFFF#000000##FFFFFF
##8A489F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#4B659D
Tritanopia (blue-blind)
#89556C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489f;
/* rgb */ color: rgb(138, 72, 159);
/* oklch */ color: oklch(51.8% 0.148 317.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ebc',
    500: '#8a489f',
    950: '#000000',
  },
}
SCSS
$custom: #8a489f;
$custom-light: #ae7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489f",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 285.517,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.14756,
    "h": 317.4
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#8A489F
secondary
#95BA89
accent
#CE5A76
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A489F

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

Preview Lab → · Contrast checker → · Palette generator →

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