#8F2E95#8F2E95

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

Color values

HEX#8F2E95
RGBrgb(143, 46, 149)
HSLhsl(297, 53%, 38%)
HSVhsv(297, 69%, 58%)
CMYKcmyk(4%, 69.1%, 0%, 41.6%)
CIE-LABlab(37.78, 53.88, -36.57)
CIE-LCHlch(37.78, 65.12, 325.83°)
OKLaboklab(48.69% 0.1473 -0.1016)
OKLCHoklch(48.69% 0.179 325.4)
XYZxyz(17.7291, 9.9647, 29.4175)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E95 #34952E
analogous
#5B2E95 #8F2E95 #952E67
triadic
#8F2E95 #958F2E #2E958F
tetradic
#8F2E95 #955B2E #34952E #2E6795
square
#8F2E95 #955B2E #34952E #2E6795
split-complementary
#8F2E95 #67952E #2E955B
monochromatic
#351137 #622066 #8F2E95 #BB3DC3 #CC6CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2E95#FFFFFF#000000##FFFFFF
##8F2E951.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)
#185198
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#923E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2e95;
/* rgb */ color: rgb(143, 46, 149);
/* oklch */ color: oklch(48.7% 0.179 325.4);
Tailwind
colors: {
  custom: {
    50: '#b36fb4',
    500: '#8f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e95;
$custom-light: #b36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e95",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 296.505,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.17896,
    "h": 325.4
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#8F2E95
secondary
#6BB966
accent
#DC4C54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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