#8F2C95#8F2C95

#8F2C95 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.181 H 325.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8F2C95
RGBrgb(143, 44, 149)
HSLhsl(297, 54%, 38%)
HSVhsv(297, 70%, 58%)
CMYKcmyk(4%, 70.5%, 0%, 41.6%)
CIE-LABlab(37.50, 54.66, -37.01)
CIE-LCHlch(37.50, 66.01, 325.90°)
OKLaboklab(48.49% 0.1495 -0.1028)
OKLCHoklch(48.49% 0.181 325.5)
XYZxyz(17.6528, 9.8121, 29.3921)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C95 #32952C
analogous
#5A2C95 #8F2C95 #952C67
triadic
#8F2C95 #958F2C #2C958F
tetradic
#8F2C95 #955A2C #32952C #2C6795
square
#8F2C95 #955A2C #32952C #2C6795
split-complementary
#8F2C95 #67952C #2C955A
monochromatic
#341037 #621E66 #8F2C95 #BC3AC4 #CD69D3

Accessibility & contrast

On white

7.09
#8F2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C95
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C95#FFFFFF#000000##FFFFFF
##8F2C951.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145098
Deuteranopia (green-blind)
#425C92
Tritanopia (blue-blind)
#923D5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2c95;
/* rgb */ color: rgb(143, 44, 149);
/* oklch */ color: oklch(48.5% 0.181 325.5);
Tailwind
colors: {
  custom: {
    50: '#b36fb4',
    500: '#8f2c95',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c95;
$custom-light: #b36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c95",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 296.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.18146,
    "h": 325.5
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#8F2C95
secondary
#68B964
accent
#DE4A52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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