#8C249C#8C249C

#8C249C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.195 H 321.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8C249C
RGBrgb(140, 36, 156)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 61%)
CMYKcmyk(10.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(36.44, 58.12, -42.99)
CIE-LCHlch(36.44, 72.29, 323.51°)
OKLaboklab(47.77% 0.1535 -0.1203)
OKLCHoklch(47.77% 0.195 321.9)
XYZxyz(17.4462, 9.2385, 32.3103)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249C #349C24
analogous
#50249C #8C249C #9C2470
triadic
#8C249C #9C8C24 #249C8C
tetradic
#8C249C #9C5024 #349C24 #24709C
square
#8C249C #9C5024 #349C24 #24709C
split-complementary
#8C249C #709C24 #249C50
monochromatic
#330D39 #5F196A #8C249C #B92FCE #CA60DA

Accessibility & contrast

On white

7.37
#8C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C249C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249C#FFFFFF#000000##FFFFFF
##8C249C1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#355A99
Tritanopia (blue-blind)
#8E3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c249c;
/* rgb */ color: rgb(140, 36, 156);
/* oklch */ color: oklch(47.8% 0.195 321.9);
Tailwind
colors: {
  custom: {
    50: '#b16bba',
    500: '#8c249c',
    950: '#000000',
  },
}
SCSS
$custom: #8c249c;
$custom-light: #b16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249c",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 292,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.19501,
    "h": 321.9
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#8C249C
secondary
#6ABF5C
accent
#E64258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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