#8F2497#8F2497

#8F2497 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.192 H 324.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F2497
RGBrgb(143, 36, 151)
HSLhsl(296, 61%, 37%)
HSVhsv(296, 76%, 59%)
CMYKcmyk(5.3%, 76.2%, 0%, 40.8%)
CIE-LABlab(36.63, 57.85, -39.63)
CIE-LCHlch(36.63, 70.12, 325.59°)
OKLaboklab(47.9% 0.1573 -0.1104)
OKLCHoklch(47.9% 0.192 324.9)
XYZxyz(17.5441, 9.3369, 30.1503)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2497 #2C9724
analogous
#562497 #8F2497 #972466
triadic
#8F2497 #978F24 #24978F
tetradic
#8F2497 #975624 #2C9724 #246697
square
#8F2497 #975624 #2C9724 #246697
split-complementary
#8F2497 #669724 #249756
monochromatic
#310C34 #601866 #8F2497 #BE30C8 #D05DD8

Accessibility & contrast

On white

7.32
#8F2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2497
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2497#FFFFFF#000000##FFFFFF
##8F24971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3C5B94
Tritanopia (blue-blind)
#92395C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2497;
/* rgb */ color: rgb(143, 36, 151);
/* oklch */ color: oklch(47.9% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#b36bb6',
    500: '#8f2497',
    950: '#000000',
  },
}
SCSS
$custom: #8f2497;
$custom-light: #b36bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2497",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 295.826,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.19219,
    "h": 324.9
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#8F2497
secondary
#61BD5A
accent
#E5434E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2497

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

Preview Lab → · Contrast checker → · Palette generator →

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