#8D279C#8D279C

#8D279C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 322.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D279C
RGBrgb(141, 39, 156)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 61%)
CMYKcmyk(9.6%, 75%, 0%, 38.8%)
CIE-LABlab(36.96, 57.32, -42.15)
CIE-LCHlch(36.96, 71.15, 323.67°)
OKLaboklab(48.17% 0.1519 -0.1178)
OKLCHoklch(48.17% 0.192 322.2)
XYZxyz(17.7102, 9.5151, 32.3498)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D279C #369C27
analogous
#52279C #8D279C #9C2770
triadic
#8D279C #9C8D27 #279C8D
tetradic
#8D279C #9C5227 #369C27 #27709C
square
#8D279C #9C5227 #369C27 #27709C
split-complementary
#8D279C #709C27 #279C52
monochromatic
#340F3A #611B6B #8D279C #B934CC #CA65D8

Accessibility & contrast

On white

7.23
#8D279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D279C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D279C#FFFFFF#000000##FFFFFF
##8D279C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#8F3D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d279c;
/* rgb */ color: rgb(141, 39, 156);
/* oklch */ color: oklch(48.2% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#b26cba',
    500: '#8d279c',
    950: '#000000',
  },
}
SCSS
$custom: #8d279c;
$custom-light: #b26cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d279c",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 292.308,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.19227,
    "h": 322.2
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#8D279C
secondary
#6DBE61
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D279C

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

Preview Lab → · Contrast checker → · Palette generator →

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