#8F2D94#8F2D94

#8F2D94 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.179 H 325.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F2D94
RGBrgb(143, 45, 148)
HSLhsl(297, 53%, 38%)
HSVhsv(297, 70%, 58%)
CMYKcmyk(3.4%, 69.6%, 0%, 42%)
CIE-LABlab(37.58, 54.09, -36.28)
CIE-LCHlch(37.58, 65.13, 326.15°)
OKLaboklab(48.53% 0.1484 -0.1007)
OKLCHoklch(48.53% 0.179 325.8)
XYZxyz(17.6110, 9.8557, 28.9860)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D94 #32942D
analogous
#5B2D94 #8F2D94 #942D66
triadic
#8F2D94 #948F2D #2D948F
tetradic
#8F2D94 #945B2D #32942D #2D6694
square
#8F2D94 #945B2D #32942D #2D6694
split-complementary
#8F2D94 #66942D #2D945B
monochromatic
#341036 #621F65 #8F2D94 #BC3BC3 #CD6AD2

Accessibility & contrast

On white

7.07
#8F2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D94
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D94#FFFFFF#000000##FFFFFF
##8F2D941.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175197
Deuteranopia (green-blind)
#435D91
Tritanopia (blue-blind)
#933D5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2d94;
/* rgb */ color: rgb(143, 45, 148);
/* oklch */ color: oklch(48.5% 0.179 325.8);
Tailwind
colors: {
  custom: {
    50: '#b36fb4',
    500: '#8f2d94',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d94;
$custom-light: #b36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d94",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 297.087,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.17937,
    "h": 325.8
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#8F2D94
secondary
#68B864
accent
#DD4B52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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