#8F2097#8F2097

#8F2097 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.196 H 325.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2097
RGBrgb(143, 32, 151)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(5.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(36.19, 59.10, -40.32)
CIE-LCHlch(36.19, 71.54, 325.70°)
OKLaboklab(47.59% 0.1608 -0.1124)
OKLCHoklch(47.59% 0.196 325)
XYZxyz(17.4297, 9.1082, 30.1122)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2097 #289720
analogous
#532097 #8F2097 #972063
triadic
#8F2097 #978F20 #20978F
tetradic
#8F2097 #975320 #289720 #206397
square
#8F2097 #975320 #289720 #206397
split-complementary
#8F2097 #639720 #209753
monochromatic
#2F0B32 #5F1564 #8F2097 #BF2BC9 #D256DB

Accessibility & contrast

On white

7.44
#8F2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2097
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2097#FFFFFF#000000##FFFFFF
##8F20971.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3A5A94
Tritanopia (blue-blind)
#92375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2097;
/* rgb */ color: rgb(143, 32, 151);
/* oklch */ color: oklch(47.6% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#b46ab6',
    500: '#8f2097',
    950: '#000000',
  },
}
SCSS
$custom: #8f2097;
$custom-light: #b46ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2097",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 295.966,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47592,
    "c": 0.19615,
    "h": 325
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#8F2097
secondary
#5BBF54
accent
#E8404B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2097

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

Preview Lab → · Contrast checker → · Palette generator →

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