#8C249F#8C249F

#8C249F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.198 H 320.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8C249F
RGBrgb(140, 36, 159)
HSLhsl(291, 63%, 38%)
HSVhsv(291, 77%, 62%)
CMYKcmyk(11.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(36.63, 58.68, -44.49)
CIE-LCHlch(36.63, 73.64, 322.83°)
OKLaboklab(47.97% 0.1532 -0.1247)
OKLCHoklch(47.97% 0.198 320.9)
XYZxyz(17.7034, 9.3414, 33.6647)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C249F #379F24
analogous
#4E249F #8C249F #9F2474
triadic
#8C249F #9F8C24 #249F8C
tetradic
#8C249F #9F4E24 #379F24 #24749F
square
#8C249F #9F4E24 #379F24 #24749F
split-complementary
#8C249F #749F24 #249F4E
monochromatic
#340D3B #60196D #8C249F #B730D0 #C962DB

Accessibility & contrast

On white

7.32
#8C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C249F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C249F#FFFFFF#000000##FFFFFF
##8C249F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#8D3D61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c249f;
/* rgb */ color: rgb(140, 36, 159);
/* oklch */ color: oklch(48.0% 0.198 320.9);
Tailwind
colors: {
  custom: {
    50: '#b16bbc',
    500: '#8c249f',
    950: '#000000',
  },
}
SCSS
$custom: #8c249f;
$custom-light: #b16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c249f",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 290.732,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.19753,
    "h": 320.9
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#8C249F
secondary
#6DC15E
accent
#E6425B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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