#8A2391#8A2391

#8A2391 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.186 H 325.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2391
RGBrgb(138, 35, 145)
HSLhsl(296, 61%, 35%)
HSVhsv(296, 76%, 57%)
CMYKcmyk(4.8%, 75.9%, 0%, 43.1%)
CIE-LABlab(35.30, 56.05, -38.12)
CIE-LCHlch(35.30, 67.78, 325.78°)
OKLaboklab(46.68% 0.1528 -0.1061)
OKLCHoklch(46.68% 0.186 325.2)
XYZxyz(16.1927, 8.6507, 27.5994)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2391 #2A9123
analogous
#532391 #8A2391 #912361
triadic
#8A2391 #918A23 #23918A
tetradic
#8A2391 #915323 #2A9123 #236191
square
#8A2391 #915323 #2A9123 #236191
split-complementary
#8A2391 #619123 #239153
monochromatic
#2C0B2E #5B1760 #8A2391 #B92FC2 #CF58D7

Accessibility & contrast

On white

7.69
#8A2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2391
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2391#FFFFFF#000000##FFFFFF
##8A23911.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#8D3659
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2391;
/* rgb */ color: rgb(138, 35, 145);
/* oklch */ color: oklch(46.7% 0.186 325.2);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8a2391',
    950: '#000000',
  },
}
SCSS
$custom: #8a2391;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2391",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 296.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.18604,
    "h": 325.2
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#8A2391
secondary
#5BBB55
accent
#E4444E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2391

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

Preview Lab → · Contrast checker → · Palette generator →

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