#8D279B#8D279B

#8D279B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 322.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D279B
RGBrgb(141, 39, 155)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 61%)
CMYKcmyk(9%, 74.8%, 0%, 39.2%)
CIE-LABlab(36.89, 57.13, -41.64)
CIE-LCHlch(36.89, 70.70, 323.91°)
OKLaboklab(48.11% 0.152 -0.1164)
OKLCHoklch(48.11% 0.191 322.6)
XYZxyz(17.6258, 9.4813, 31.9057)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D279B #359B27
analogous
#53279B #8D279B #9B276F
triadic
#8D279B #9B8D27 #279B8D
tetradic
#8D279B #9B5327 #359B27 #276F9B
square
#8D279B #9B5327 #359B27 #276F9B
split-complementary
#8D279B #6F9B27 #279B53
monochromatic
#340E39 #611B6A #8D279B #B933CC #CA64D8

Accessibility & contrast

On white

7.25
#8D279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D279B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D279B#FFFFFF#000000##FFFFFF
##8D279B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#8F3D5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d279b;
/* rgb */ color: rgb(141, 39, 155);
/* oklch */ color: oklch(48.1% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#b26cb9',
    500: '#8d279b',
    950: '#000000',
  },
}
SCSS
$custom: #8d279b;
$custom-light: #b26cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d279b",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 292.759,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.19142,
    "h": 322.6
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#8D279B
secondary
#6BBE60
accent
#E34558
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D279B

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

Preview Lab → · Contrast checker → · Palette generator →

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