#8D279D#8D279D

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

Color values

HEX#8D279D
RGBrgb(141, 39, 157)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(37.02, 57.50, -42.65)
CIE-LCHlch(37.02, 71.59, 323.43°)
OKLaboklab(48.24% 0.1519 -0.1193)
OKLCHoklch(48.24% 0.193 321.8)
XYZxyz(17.7952, 9.5491, 32.7976)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D279D #379D27
analogous
#52279D #8D279D #9D2772
triadic
#8D279D #9D8D27 #279D8D
tetradic
#8D279D #9D5227 #379D27 #27729D
square
#8D279D #9D5227 #379D27 #27729D
split-complementary
#8D279D #729D27 #279D52
monochromatic
#350F3B #611B6C #8D279D #B835CD #C966D9

Accessibility & contrast

On white

7.22
#8D279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D279D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D279D#FFFFFF#000000##FFFFFF
##8D279D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#8E3E60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d279d;
/* rgb */ color: rgb(141, 39, 157);
/* oklch */ color: oklch(48.2% 0.193 321.8);
Tailwind
colors: {
  custom: {
    50: '#b26cba',
    500: '#8d279d',
    950: '#000000',
  },
}
SCSS
$custom: #8d279d;
$custom-light: #b26cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d279d",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 291.864,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.19311,
    "h": 321.8
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#8D279D
secondary
#6EBF61
accent
#E3445A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D279D

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

Preview Lab → · Contrast checker → · Palette generator →

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