#8A2396#8A2396

#8A2396 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.190 H 323.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8A2396
RGBrgb(138, 35, 150)
HSLhsl(294, 62%, 36%)
HSVhsv(294, 77%, 59%)
CMYKcmyk(8%, 76.7%, 0%, 41.2%)
CIE-LABlab(35.61, 56.94, -40.68)
CIE-LCHlch(35.61, 69.98, 324.46°)
OKLaboklab(47% 0.1525 -0.1136)
OKLCHoklch(47% 0.19 323.3)
XYZxyz(16.5868, 8.8084, 29.6748)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2396 #2F9623
analogous
#512396 #8A2396 #962369
triadic
#8A2396 #968A23 #23968A
tetradic
#8A2396 #965123 #2F9623 #236996
square
#8A2396 #965123 #2F9623 #236996
split-complementary
#8A2396 #699623 #239651
monochromatic
#2F0C33 #5C1764 #8A2396 #B82FC8 #CC5BD9

Accessibility & contrast

On white

7.60
#8A2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2396
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2396#FFFFFF#000000##FFFFFF
##8A23961.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#375893
Tritanopia (blue-blind)
#8C395B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2396;
/* rgb */ color: rgb(138, 35, 150);
/* oklch */ color: oklch(47.0% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#b06ab5',
    500: '#8a2396',
    950: '#000000',
  },
}
SCSS
$custom: #8a2396;
$custom-light: #b06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2396",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 293.739,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.19017,
    "h": 323.3
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#8A2396
secondary
#62BD58
accent
#E54354
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2396

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

Preview Lab → · Contrast checker → · Palette generator →

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