#8F2D97#8F2D97

#8F2D97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.182 H 324.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8F2D97
RGBrgb(143, 45, 151)
HSLhsl(295, 54%, 38%)
HSVhsv(295, 70%, 59%)
CMYKcmyk(5.3%, 70.2%, 0%, 40.8%)
CIE-LABlab(37.76, 54.63, -37.82)
CIE-LCHlch(37.76, 66.45, 325.30°)
OKLaboklab(48.71% 0.1484 -0.1052)
OKLCHoklch(48.71% 0.182 324.7)
XYZxyz(17.8515, 9.9519, 30.2528)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D97 #35972D
analogous
#5A2D97 #8F2D97 #972D6A
triadic
#8F2D97 #978F2D #2D978F
tetradic
#8F2D97 #975A2D #35972D #2D6A97
square
#8F2D97 #975A2D #35972D #2D6A97
split-complementary
#8F2D97 #6A972D #2D975A
monochromatic
#361139 #621F68 #8F2D97 #BB3CC5 #CB6BD3

Accessibility & contrast

On white

7.02
#8F2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D97
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D97#FFFFFF#000000##FFFFFF
##8F2D971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#923E5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2d97;
/* rgb */ color: rgb(143, 45, 151);
/* oklch */ color: oklch(48.7% 0.182 324.7);
Tailwind
colors: {
  custom: {
    50: '#b36fb6',
    500: '#8f2d97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d97;
$custom-light: #b36fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d97",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 295.472,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.18193,
    "h": 324.7
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#8F2D97
secondary
#6CBA66
accent
#DD4A55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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