#8A2296#8A2296

#8A2296 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.191 H 323.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8A2296
RGBrgb(138, 34, 150)
HSLhsl(294, 63%, 36%)
HSVhsv(294, 77%, 59%)
CMYKcmyk(8%, 77.3%, 0%, 41.2%)
CIE-LABlab(35.50, 57.27, -40.86)
CIE-LCHlch(35.50, 70.35, 324.49°)
OKLaboklab(46.92% 0.1534 -0.1141)
OKLCHoklch(46.92% 0.191 323.3)
XYZxyz(16.5578, 8.7504, 29.6651)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2296 #2E9622
analogous
#502296 #8A2296 #962268
triadic
#8A2296 #968A22 #22968A
tetradic
#8A2296 #965022 #2E9622 #226896
square
#8A2296 #965022 #2E9622 #226896
split-complementary
#8A2296 #689622 #229650
monochromatic
#2E0B32 #5C1764 #8A2296 #B82DC8 #CC59D9

Accessibility & contrast

On white

7.64
#8A2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2296
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2296#FFFFFF#000000##FFFFFF
##8A22961.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#375793
Tritanopia (blue-blind)
#8C385B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2296;
/* rgb */ color: rgb(138, 34, 150);
/* oklch */ color: oklch(46.9% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#b06ab5',
    500: '#8a2296',
    950: '#000000',
  },
}
SCSS
$custom: #8a2296;
$custom-light: #b06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2296",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 293.793,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.1912,
    "h": 323.3
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#8A2296
secondary
#61BE56
accent
#E64253
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2296

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

Preview Lab → · Contrast checker → · Palette generator →

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