#8F2597#8F2597

#8F2597 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 324.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F2597
RGBrgb(143, 37, 151)
HSLhsl(296, 61%, 37%)
HSVhsv(296, 75%, 59%)
CMYKcmyk(5.3%, 75.5%, 0%, 40.8%)
CIE-LABlab(36.74, 57.52, -39.44)
CIE-LCHlch(36.74, 69.75, 325.56°)
OKLaboklab(47.98% 0.1564 -0.1099)
OKLCHoklch(47.98% 0.191 324.9)
XYZxyz(17.5747, 9.3983, 30.1605)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2597 #2D9725
analogous
#562597 #8F2597 #972566
triadic
#8F2597 #978F25 #25978F
tetradic
#8F2597 #975625 #2D9725 #256697
square
#8F2597 #975625 #2D9725 #256697
split-complementary
#8F2597 #669725 #259756
monochromatic
#320D35 #601966 #8F2597 #BE31C8 #CF5FD8

Accessibility & contrast

On white

7.29
#8F2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2597
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2597#FFFFFF#000000##FFFFFF
##8F25971.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2597;
/* rgb */ color: rgb(143, 37, 151);
/* oklch */ color: oklch(48.0% 0.191 324.9);
Tailwind
colors: {
  custom: {
    50: '#b36cb6',
    500: '#8f2597',
    950: '#000000',
  },
}
SCSS
$custom: #8f2597;
$custom-light: #b36cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2597",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 295.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.19114,
    "h": 324.9
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#8F2597
secondary
#62BD5B
accent
#E4444F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2597

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

Preview Lab → · Contrast checker → · Palette generator →

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