#8C249A#8C249A

#8C249A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 322.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8C249A
RGBrgb(140, 36, 154)
HSLhsl(293, 62%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(9.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(36.31, 57.76, -41.98)
CIE-LCHlch(36.31, 71.40, 323.99°)
OKLaboklab(47.64% 0.1537 -0.1173)
OKLCHoklch(47.64% 0.193 322.6)
XYZxyz(17.2782, 9.1713, 31.4257)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249A #329A24
analogous
#51249A #8C249A #9A246D
triadic
#8C249A #9A8C24 #249A8C
tetradic
#8C249A #9A5124 #329A24 #246D9A
square
#8C249A #9A5124 #329A24 #246D9A
split-complementary
#8C249A #6D9A24 #249A51
monochromatic
#320D37 #5F1868 #8C249A #B930CC #CB5FDA

Accessibility & contrast

On white

7.41
#8C249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8C249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C249A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249A#FFFFFF#000000##FFFFFF
##8C249A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#8E3B5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c249a;
/* rgb */ color: rgb(140, 36, 154);
/* oklch */ color: oklch(47.6% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#b16bb8',
    500: '#8c249a',
    950: '#000000',
  },
}
SCSS
$custom: #8c249a;
$custom-light: #b16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249a",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 292.881,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.19334,
    "h": 322.6
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#8C249A
secondary
#67BF5B
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C249A

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

Preview Lab → · Contrast checker → · Palette generator →

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