#8C2599#8C2599

#8C2599 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.191 H 323.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8C2599
RGBrgb(140, 37, 153)
HSLhsl(293, 61%, 37%)
HSVhsv(293, 76%, 60%)
CMYKcmyk(8.5%, 75.8%, 0%, 40%)
CIE-LABlab(36.37, 57.24, -41.29)
CIE-LCHlch(36.37, 70.58, 324.20°)
OKLaboklab(47.66% 0.1528 -0.1153)
OKLCHoklch(47.66% 0.191 323)
XYZxyz(17.2260, 9.1995, 30.9992)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2599 #329925
analogous
#522599 #8C2599 #99256C
triadic
#8C2599 #998C25 #25998C
tetradic
#8C2599 #995225 #329925 #256C99
square
#8C2599 #995225 #329925 #256C99
split-complementary
#8C2599 #6C9925 #259952
monochromatic
#320D36 #5F1968 #8C2599 #B931CA #CB60D9

Accessibility & contrast

On white

7.40
#8C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8C2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2599
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2599#FFFFFF#000000##FFFFFF
##8C25991.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#8E3B5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c2599;
/* rgb */ color: rgb(140, 37, 153);
/* oklch */ color: oklch(47.7% 0.191 323.0);
Tailwind
colors: {
  custom: {
    50: '#b16bb8',
    500: '#8c2599',
    950: '#000000',
  },
}
SCSS
$custom: #8c2599;
$custom-light: #b16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2599",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 293.276,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.19145,
    "h": 323
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#8C2599
secondary
#67BE5C
accent
#E44456
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2599

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

Preview Lab → · Contrast checker → · Palette generator →

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