#8D298E#8D298E

#8D298E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 327.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8D298E
RGBrgb(141, 41, 142)
HSLhsl(299, 55%, 36%)
HSVhsv(299, 71%, 56%)
CMYKcmyk(0.7%, 71.1%, 0%, 44.3%)
CIE-LABlab(36.37, 54.08, -34.55)
CIE-LCHlch(36.37, 64.17, 327.43°)
OKLaboklab(47.48% 0.1504 -0.0957)
OKLCHoklch(47.48% 0.178 327.5)
XYZxyz(16.6597, 9.2027, 26.4848)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D298E #2A8E29
analogous
#5A298E #8D298E #8E295C
triadic
#8D298E #8E8D29 #298E8D
tetradic
#8D298E #8E5A29 #2A8E29 #295C8E
square
#8D298E #8E5A29 #2A8E29 #295C8E
split-complementary
#8D298E #5C8E29 #298E5A
monochromatic
#2F0E2F #5E1B5F #8D298E #BC37BD #D060D1

Accessibility & contrast

On white

7.39
#8D298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D298E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D298E#FFFFFF#000000##FFFFFF
##8D298E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#913859
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d298e;
/* rgb */ color: rgb(141, 41, 142);
/* oklch */ color: oklch(47.5% 0.178 327.5);
Tailwind
colors: {
  custom: {
    50: '#b26daf',
    500: '#8d298e',
    950: '#000000',
  },
}
SCSS
$custom: #8d298e;
$custom-light: #b26daf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d298e",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 299.406,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.17823,
    "h": 327.5
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#8D298E
secondary
#5DB75C
accent
#DF494B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D298E

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

Preview Lab → · Contrast checker → · Palette generator →

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