#8F2998#8F2998

#8F2998 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.188 H 324.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F2998
RGBrgb(143, 41, 152)
HSLhsl(295, 58%, 38%)
HSVhsv(295, 73%, 60%)
CMYKcmyk(5.9%, 73%, 0%, 40.4%)
CIE-LABlab(37.29, 56.31, -39.18)
CIE-LCHlch(37.29, 68.60, 325.17°)
OKLaboklab(48.39% 0.1525 -0.1091)
OKLCHoklch(48.39% 0.188 324.4)
XYZxyz(17.7877, 9.6936, 30.6338)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2998 #329829
analogous
#572998 #8F2998 #982969
triadic
#8F2998 #988F29 #29988F
tetradic
#8F2998 #985729 #329829 #296998
square
#8F2998 #985729 #329829 #296998
split-complementary
#8F2998 #699829 #299857
monochromatic
#340F38 #621C68 #8F2998 #BC36C8 #CD66D6

Accessibility & contrast

On white

7.15
#8F2998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F2998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2998
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2998#FFFFFF#000000##FFFFFF
##8F29981.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#923C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2998;
/* rgb */ color: rgb(143, 41, 152);
/* oklch */ color: oklch(48.4% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b36db7',
    500: '#8f2998',
    950: '#000000',
  },
}
SCSS
$custom: #8f2998;
$custom-light: #b36db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2998",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 295.135,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.18755,
    "h": 324.4
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#8F2998
secondary
#68BC61
accent
#E14754
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2998

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

Preview Lab → · Contrast checker → · Palette generator →

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