#8C2292#8C2292

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

Color values

HEX#8C2292
RGBrgb(140, 34, 146)
HSLhsl(297, 62%, 35%)
HSVhsv(297, 77%, 57%)
CMYKcmyk(4.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(35.59, 56.98, -38.26)
CIE-LCHlch(35.59, 68.63, 326.12°)
OKLaboklab(46.97% 0.156 -0.1065)
OKLCHoklch(46.97% 0.189 325.7)
XYZxyz(16.5752, 8.7959, 28.0133)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2292 #289222
analogous
#542292 #8C2292 #922260
triadic
#8C2292 #928C22 #22928C
tetradic
#8C2292 #925422 #289222 #226092
square
#8C2292 #925422 #289222 #226092
split-complementary
#8C2292 #609222 #229254
monochromatic
#2D0B2F #5C1660 #8C2292 #BC2EC4 #D157D8

Accessibility & contrast

On white

7.61
#8C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C2292
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2292#FFFFFF#000000##FFFFFF
##8C22921.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3C588F
Tritanopia (blue-blind)
#8F3659
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8c2292;
/* rgb */ color: rgb(140, 34, 146);
/* oklch */ color: oklch(47.0% 0.189 325.7);
Tailwind
colors: {
  custom: {
    50: '#b16ab2',
    500: '#8c2292',
    950: '#000000',
  },
}
SCSS
$custom: #8c2292;
$custom-light: #b16ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2292",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 296.786,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.18883,
    "h": 325.7
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#8C2292
secondary
#5ABC54
accent
#E5434B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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