#8F2098#8F2098

#8F2098 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.197 H 324.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8F2098
RGBrgb(143, 32, 152)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 60%)
CMYKcmyk(5.9%, 78.9%, 0%, 40.4%)
CIE-LABlab(36.25, 59.28, -40.83)
CIE-LCHlch(36.25, 71.98, 325.44°)
OKLaboklab(47.66% 0.1607 -0.1139)
OKLCHoklch(47.66% 0.197 324.7)
XYZxyz(17.5113, 9.1408, 30.5417)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2098 #299820
analogous
#532098 #8F2098 #982065
triadic
#8F2098 #988F20 #20988F
tetradic
#8F2098 #985320 #299820 #206598
square
#8F2098 #985320 #299820 #206598
split-complementary
#8F2098 #659820 #209853
monochromatic
#300B33 #5F1565 #8F2098 #BF2BCB #D257DC

Accessibility & contrast

On white

7.43
#8F2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2098
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2098#FFFFFF#000000##FFFFFF
##8F20981.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#92375C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2098;
/* rgb */ color: rgb(143, 32, 152);
/* oklch */ color: oklch(47.7% 0.197 324.7);
Tailwind
colors: {
  custom: {
    50: '#b46ab7',
    500: '#8f2098',
    950: '#000000',
  },
}
SCSS
$custom: #8f2098;
$custom-light: #b46ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2098",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 295.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.19695,
    "h": 324.7
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#8F2098
secondary
#5CBF54
accent
#E8404C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2098

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

Preview Lab → · Contrast checker → · Palette generator →

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