#8F2399#8F2399

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

Color values

HEX#8F2399
RGBrgb(143, 35, 153)
HSLhsl(295, 63%, 37%)
HSVhsv(295, 77%, 60%)
CMYKcmyk(6.5%, 77.1%, 0%, 40%)
CIE-LABlab(36.64, 58.53, -40.82)
CIE-LCHlch(36.64, 71.36, 325.10°)
OKLaboklab(47.95% 0.1581 -0.1139)
OKLCHoklch(47.95% 0.195 324.2)
XYZxyz(17.6780, 9.3427, 31.0030)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2399 #2D9923
analogous
#542399 #8F2399 #992368
triadic
#8F2399 #998F23 #23998F
tetradic
#8F2399 #995423 #2D9923 #236899
square
#8F2399 #995423 #2D9923 #236899
split-complementary
#8F2399 #689923 #239954
monochromatic
#320C35 #601867 #8F2399 #BE2ECB #CF5DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2399#FFFFFF#000000##FFFFFF
##8F23991.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)
#004E9C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#92395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2399;
/* rgb */ color: rgb(143, 35, 153);
/* oklch */ color: oklch(47.9% 0.195 324.2);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8f2399',
    950: '#000000',
  },
}
SCSS
$custom: #8f2399;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2399",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 294.915,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.19484,
    "h": 324.2
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#8F2399
secondary
#62BE59
accent
#E64250
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2399

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

Preview Lab → · Contrast checker → · Palette generator →

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