#8F2F97#8F2F97

#8F2F97 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.179 H 324.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F2F97
RGBrgb(143, 47, 151)
HSLhsl(295, 53%, 39%)
HSVhsv(295, 69%, 59%)
CMYKcmyk(5.3%, 68.9%, 0%, 40.8%)
CIE-LABlab(38.04, 53.84, -37.38)
CIE-LCHlch(38.04, 65.55, 325.23°)
OKLaboklab(48.91% 0.1463 -0.1039)
OKLCHoklch(48.91% 0.179 324.6)
XYZxyz(17.9297, 10.1081, 30.2788)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F97 #37972F
analogous
#5B2F97 #8F2F97 #972F6B
triadic
#8F2F97 #978F2F #2F978F
tetradic
#8F2F97 #975B2F #37972F #2F6B97
square
#8F2F97 #975B2F #37972F #2F6B97
split-complementary
#8F2F97 #6B972F #2F975B
monochromatic
#37123A #632068 #8F2F97 #B940C3 #CA6ED2

Accessibility & contrast

On white

6.95
#8F2F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F2F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F97
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F97#FFFFFF#000000##FFFFFF
##8F2F971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#425E94
Tritanopia (blue-blind)
#92405F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2f97;
/* rgb */ color: rgb(143, 47, 151);
/* oklch */ color: oklch(48.9% 0.179 324.6);
Tailwind
colors: {
  custom: {
    50: '#b370b6',
    500: '#8f2f97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f97;
$custom-light: #b370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f97",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 295.385,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.17941,
    "h": 324.6
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#8F2F97
secondary
#6FB968
accent
#DC4C57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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