#8A2388#8A2388

#8A2388 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.179 H 328.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2388
RGBrgb(138, 35, 136)
HSLhsl(301, 60%, 34%)
HSVhsv(301, 75%, 54%)
CMYKcmyk(0%, 74.6%, 1.4%, 45.9%)
CIE-LABlab(34.77, 54.49, -33.43)
CIE-LCHlch(34.77, 63.92, 328.47°)
OKLaboklab(46.13% 0.153 -0.0925)
OKLCHoklch(46.13% 0.179 328.8)
XYZxyz(15.5261, 8.3841, 24.0883)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2388 #238A25
analogous
#59238A #8A2388 #8A2355
triadic
#8A2388 #888A23 #23888A
tetradic
#8A2388 #8A5923 #238A25 #23558A
square
#8A2388 #8A5923 #238A25 #23558A
split-complementary
#8A2388 #558A23 #238A59
monochromatic
#280A28 #591758 #8A2388 #BB2FB8 #D454D1

Accessibility & contrast

On white

7.85
#8A2388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2388
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2388#FFFFFF#000000##FFFFFF
##8A23881.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#8F3254
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2388;
/* rgb */ color: rgb(138, 35, 136);
/* oklch */ color: oklch(46.1% 0.179 328.8);
Tailwind
colors: {
  custom: {
    50: '#b069ab',
    500: '#8a2388',
    950: '#000000',
  },
}
SCSS
$custom: #8a2388;
$custom-light: #b069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2388",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 301.165,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.17876,
    "h": 328.8
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#8A2388
secondary
#51B753
accent
#E34845
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2388

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

Preview Lab → · Contrast checker → · Palette generator →

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