#8A2389#8A2389

#8A2389 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.180 H 328.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A2389
RGBrgb(138, 35, 137)
HSLhsl(301, 60%, 34%)
HSVhsv(301, 75%, 54%)
CMYKcmyk(0%, 74.6%, 0.7%, 45.9%)
CIE-LABlab(34.83, 54.66, -33.95)
CIE-LCHlch(34.83, 64.34, 328.15°)
OKLaboklab(46.18% 0.153 -0.094)
OKLCHoklch(46.18% 0.18 328.4)
XYZxyz(15.5975, 8.4126, 24.4643)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2389 #238A24
analogous
#58238A #8A2389 #8A2356
triadic
#8A2389 #898A23 #23898A
tetradic
#8A2389 #8A5823 #238A24 #23568A
square
#8A2389 #8A5823 #238A24 #23568A
split-complementary
#8A2389 #568A23 #238A58
monochromatic
#280A28 #591759 #8A2389 #BB2FB9 #D454D2

Accessibility & contrast

On white

7.83
#8A2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2389
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2389#FFFFFF#000000##FFFFFF
##8A23891.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#8F3354
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2389;
/* rgb */ color: rgb(138, 35, 137);
/* oklch */ color: oklch(46.2% 0.180 328.4);
Tailwind
colors: {
  custom: {
    50: '#b069ac',
    500: '#8a2389',
    950: '#000000',
  },
}
SCSS
$custom: #8a2389;
$custom-light: #b069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2389",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 300.583,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.17956,
    "h": 328.4
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#8A2389
secondary
#51B752
accent
#E34745
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2389

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

Preview Lab → · Contrast checker → · Palette generator →

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