#8A289B#8A289B

#8A289B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.189 H 321.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A289B
RGBrgb(138, 40, 155)
HSLhsl(291, 59%, 38%)
HSVhsv(291, 74%, 61%)
CMYKcmyk(11%, 74.2%, 0%, 39.2%)
CIE-LABlab(36.53, 56.13, -42.25)
CIE-LCHlch(36.53, 70.26, 323.03°)
OKLaboklab(47.75% 0.1475 -0.1182)
OKLCHoklch(47.75% 0.189 321.3)
XYZxyz(17.1558, 9.2883, 31.8932)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A289B #399B28
analogous
#50289B #8A289B #9B2872
triadic
#8A289B #9B8A28 #289B8A
tetradic
#8A289B #9B5028 #399B28 #28729B
square
#8A289B #9B5028 #399B28 #28729B
split-complementary
#8A289B #729B28 #289B50
monochromatic
#330F3A #5F1B6A #8A289B #B535CB #C766D7

Accessibility & contrast

On white

7.35
#8A289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A289B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A289B#FFFFFF#000000##FFFFFF
##8A289B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a289b;
/* rgb */ color: rgb(138, 40, 155);
/* oklch */ color: oklch(47.8% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#b06cb9',
    500: '#8a289b',
    950: '#000000',
  },
}
SCSS
$custom: #8a289b;
$custom-light: #b06cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a289b",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 291.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.189,
    "h": 321.3
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#8A289B
secondary
#6FBD61
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A289B

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

Preview Lab → · Contrast checker → · Palette generator →

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