#8D279E#8D279E

#8D279E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 321.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D279E
RGBrgb(141, 39, 158)
HSLhsl(291, 60%, 39%)
HSVhsv(291, 75%, 62%)
CMYKcmyk(10.8%, 75.3%, 0%, 38%)
CIE-LABlab(37.08, 57.69, -43.16)
CIE-LCHlch(37.08, 72.04, 323.20°)
OKLaboklab(48.3% 0.1518 -0.1208)
OKLCHoklch(48.3% 0.194 321.5)
XYZxyz(17.8809, 9.5834, 33.2491)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D279E #389E27
analogous
#51279E #8D279E #9E2773
triadic
#8D279E #9E8D27 #279E8D
tetradic
#8D279E #9E5127 #389E27 #27739E
square
#8D279E #9E5127 #389E27 #27739E
split-complementary
#8D279E #739E27 #279E51
monochromatic
#350F3C #611B6D #8D279E #B735CD #C966D9

Accessibility & contrast

On white

7.20
#8D279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D279E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D279E#FFFFFF#000000##FFFFFF
##8D279E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#8E3E61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d279e;
/* rgb */ color: rgb(141, 39, 158);
/* oklch */ color: oklch(48.3% 0.194 321.5);
Tailwind
colors: {
  custom: {
    50: '#b26cbb',
    500: '#8d279e',
    950: '#000000',
  },
}
SCSS
$custom: #8d279e;
$custom-light: #b26cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d279e",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 291.429,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.19396,
    "h": 321.5
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#8D279E
secondary
#6FBF62
accent
#E4445B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D279E

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

Preview Lab → · Contrast checker → · Palette generator →

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