#8F298C#8F298C

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

Color values

HEX#8F298C
RGBrgb(143, 41, 140)
HSLhsl(302, 55%, 36%)
HSVhsv(302, 71%, 56%)
CMYKcmyk(0%, 71.3%, 2.1%, 43.9%)
CIE-LABlab(36.59, 54.21, -32.95)
CIE-LCHlch(36.59, 63.44, 328.71°)
OKLaboklab(47.67% 0.1526 -0.091)
OKLCHoklch(47.67% 0.178 329.2)
XYZxyz(16.8541, 9.3202, 25.7171)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F298C #298F2C
analogous
#5F298F #8F298C #8F2959
triadic
#8F298C #8C8F29 #298C8F
tetradic
#8F298C #8F5F29 #298F2C #29598F
square
#8F298C #8F5F29 #298F2C #29598F
split-complementary
#8F298C #598F29 #298F5F
monochromatic
#300E2F #5F1B5D #8F298C #BF37BB #D261CE

Accessibility & contrast

On white

7.33
#8F298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F298C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F298C#FFFFFF#000000##FFFFFF
##8F298C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#455B89
Tritanopia (blue-blind)
#943757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f298c;
/* rgb */ color: rgb(143, 41, 140);
/* oklch */ color: oklch(47.7% 0.178 329.2);
Tailwind
colors: {
  custom: {
    50: '#b36dae',
    500: '#8f298c',
    950: '#000000',
  },
}
SCSS
$custom: #8f298c;
$custom-light: #b36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f298c",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 301.765,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.17764,
    "h": 329.2
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#8F298C
secondary
#5CB75F
accent
#DF4D49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F298C

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

Preview Lab → · Contrast checker → · Palette generator →

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