#8C2299#8C2299

#8C2299 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 323.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8C2299
RGBrgb(140, 34, 153)
HSLhsl(293, 64%, 37%)
HSVhsv(293, 78%, 60%)
CMYKcmyk(8.5%, 77.8%, 0%, 40%)
CIE-LABlab(36.02, 58.22, -41.83)
CIE-LCHlch(36.02, 71.69, 324.30°)
OKLaboklab(47.41% 0.1555 -0.1169)
OKLCHoklch(47.41% 0.195 323.1)
XYZxyz(17.1365, 9.0205, 30.9693)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2299 #2F9922
analogous
#512299 #8C2299 #99226B
triadic
#8C2299 #998C22 #22998C
tetradic
#8C2299 #995122 #2F9922 #226B99
square
#8C2299 #995122 #2F9922 #226B99
split-complementary
#8C2299 #6B9922 #229951
monochromatic
#300C35 #5E1767 #8C2299 #BA2DCB #CD5BDB

Accessibility & contrast

On white

7.49
#8C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8C2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2299
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2299#FFFFFF#000000##FFFFFF
##8C22991.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#8E395D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c2299;
/* rgb */ color: rgb(140, 34, 153);
/* oklch */ color: oklch(47.4% 0.195 323.1);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8c2299',
    950: '#000000',
  },
}
SCSS
$custom: #8c2299;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2299",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 293.445,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.19454,
    "h": 323.1
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#8C2299
secondary
#63BF58
accent
#E74153
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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