#8C249B#8C249B

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

Color values

HEX#8C249B
RGBrgb(140, 36, 155)
HSLhsl(292, 62%, 37%)
HSVhsv(292, 77%, 61%)
CMYKcmyk(9.7%, 76.8%, 0%, 39.2%)
CIE-LABlab(36.38, 57.94, -42.48)
CIE-LCHlch(36.38, 71.85, 323.75°)
OKLaboklab(47.71% 0.1536 -0.1188)
OKLCHoklch(47.71% 0.194 322.3)
XYZxyz(17.3619, 9.2048, 31.8662)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249B #339B24
analogous
#51249B #8C249B #9B246F
triadic
#8C249B #9B8C24 #249B8C
tetradic
#8C249B #9B5124 #339B24 #246F9B
square
#8C249B #9B5124 #339B24 #246F9B
split-complementary
#8C249B #6F9B24 #249B51
monochromatic
#320D38 #5F1869 #8C249B #B930CD #CB5FDA

Accessibility & contrast

On white

7.39
#8C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C249B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249B#FFFFFF#000000##FFFFFF
##8C249B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c249b;
/* rgb */ color: rgb(140, 36, 155);
/* oklch */ color: oklch(47.7% 0.194 322.3);
Tailwind
colors: {
  custom: {
    50: '#b16bb9',
    500: '#8c249b',
    950: '#000000',
  },
}
SCSS
$custom: #8c249b;
$custom-light: #b16bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249b",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 292.437,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.19418,
    "h": 322.3
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#8C249B
secondary
#68BF5C
accent
#E54257
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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