#8F298D#8F298D

#8F298D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.178 H 328.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F298D
RGBrgb(143, 41, 141)
HSLhsl(301, 55%, 36%)
HSVhsv(301, 71%, 56%)
CMYKcmyk(0%, 71.3%, 1.4%, 43.9%)
CIE-LABlab(36.65, 54.38, -33.48)
CIE-LCHlch(36.65, 63.86, 328.38°)
OKLaboklab(47.73% 0.1526 -0.0925)
OKLCHoklch(47.73% 0.178 328.8)
XYZxyz(16.9282, 9.3498, 26.1072)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F298D #298F2B
analogous
#5E298F #8F298D #8F295A
triadic
#8F298D #8D8F29 #298D8F
tetradic
#8F298D #8F5E29 #298F2B #295A8F
square
#8F298D #8F5E29 #298F2B #295A8F
split-complementary
#8F298D #5A8F29 #298F5E
monochromatic
#300E2F #5F1B5E #8F298D #BF37BC #D261CF

Accessibility & contrast

On white

7.32
#8F298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F298D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F298D#FFFFFF#000000##FFFFFF
##8F298D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#943758
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f298d;
/* rgb */ color: rgb(143, 41, 141);
/* oklch */ color: oklch(47.7% 0.178 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36daf',
    500: '#8f298d',
    950: '#000000',
  },
}
SCSS
$custom: #8f298d;
$custom-light: #b36daf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f298d",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 301.176,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.17845,
    "h": 328.8
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#8F298D
secondary
#5CB75E
accent
#DF4C49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F298D

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

Preview Lab → · Contrast checker → · Palette generator →

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