#8A289A#8A289A

#8A289A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.188 H 321.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A289A
RGBrgb(138, 40, 154)
HSLhsl(292, 59%, 38%)
HSVhsv(292, 74%, 60%)
CMYKcmyk(10.4%, 74%, 0%, 39.6%)
CIE-LABlab(36.47, 55.94, -41.74)
CIE-LCHlch(36.47, 69.80, 323.27°)
OKLaboklab(47.69% 0.1475 -0.1167)
OKLCHoklch(47.69% 0.188 321.6)
XYZxyz(17.0721, 9.2549, 31.4527)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A289A #389A28
analogous
#51289A #8A289A #9A2871
triadic
#8A289A #9A8A28 #289A8A
tetradic
#8A289A #9A5128 #389A28 #28719A
square
#8A289A #9A5128 #389A28 #28719A
split-complementary
#8A289A #719A28 #289A51
monochromatic
#330F39 #5E1B69 #8A289A #B535CA #C765D7

Accessibility & contrast

On white

7.37
#8A289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A289A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A289A#FFFFFF#000000##FFFFFF
##8A289A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#8B3E5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a289a;
/* rgb */ color: rgb(138, 40, 154);
/* oklch */ color: oklch(47.7% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#b06cb8',
    500: '#8a289a',
    950: '#000000',
  },
}
SCSS
$custom: #8a289a;
$custom-light: #b06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a289a",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 291.579,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.18814,
    "h": 321.6
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#8A289A
secondary
#6EBD61
accent
#E2465C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A289A

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

Preview Lab → · Contrast checker → · Palette generator →

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