#8C249E#8C249E

#8C249E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.197 H 321.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8C249E
RGBrgb(140, 36, 158)
HSLhsl(291, 63%, 38%)
HSVhsv(291, 77%, 62%)
CMYKcmyk(11.4%, 77.2%, 0%, 38%)
CIE-LABlab(36.57, 58.49, -43.99)
CIE-LCHlch(36.57, 73.19, 323.05°)
OKLaboklab(47.9% 0.1533 -0.1232)
OKLCHoklch(47.9% 0.197 321.2)
XYZxyz(17.6169, 9.3068, 33.2096)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249E #369E24
analogous
#4F249E #8C249E #9E2473
triadic
#8C249E #9E8C24 #249E8C
tetradic
#8C249E #9E4F24 #369E24 #24739E
square
#8C249E #9E4F24 #369E24 #24739E
split-complementary
#8C249E #739E24 #249E4F
monochromatic
#340D3A #60196C #8C249E #B82FD0 #C961DB

Accessibility & contrast

On white

7.34
#8C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C249E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249E#FFFFFF#000000##FFFFFF
##8C249E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#8D3D60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c249e;
/* rgb */ color: rgb(140, 36, 158);
/* oklch */ color: oklch(47.9% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#b16bbb',
    500: '#8c249e',
    950: '#000000',
  },
}
SCSS
$custom: #8c249e;
$custom-light: #b16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249e",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 291.148,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.19669,
    "h": 321.2
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#8C249E
secondary
#6CC05E
accent
#E6425A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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