#8C249D#8C249D

#8C249D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 321.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8C249D
RGBrgb(140, 36, 157)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.8%, 77.1%, 0%, 38.4%)
CIE-LABlab(36.50, 58.31, -43.49)
CIE-LCHlch(36.50, 72.74, 323.28°)
OKLaboklab(47.84% 0.1534 -0.1218)
OKLCHoklch(47.84% 0.196 321.6)
XYZxyz(17.5312, 9.2725, 32.7581)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249D #359D24
analogous
#4F249D #8C249D #9D2472
triadic
#8C249D #9D8C24 #249D8C
tetradic
#8C249D #9D4F24 #359D24 #24729D
square
#8C249D #9D4F24 #359D24 #24729D
split-complementary
#8C249D #729D24 #249D4F
monochromatic
#330D39 #60196B #8C249D #B82FCF #CA61DB

Accessibility & contrast

On white

7.36
#8C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C249D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249D#FFFFFF#000000##FFFFFF
##8C249D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#345A9A
Tritanopia (blue-blind)
#8D3C60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c249d;
/* rgb */ color: rgb(140, 36, 157);
/* oklch */ color: oklch(47.8% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#b16bba',
    500: '#8c249d',
    950: '#000000',
  },
}
SCSS
$custom: #8c249d;
$custom-light: #b16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249d",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 291.57,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.19585,
    "h": 321.6
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#8C249D
secondary
#6BC05D
accent
#E64259
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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