#8F4E97#8F4E97

#8F4E97 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.9% C 0.132 H 323.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F4E97
RGBrgb(143, 78, 151)
HSLhsl(293, 32%, 45%)
HSVhsv(293, 48%, 59%)
CMYKcmyk(5.3%, 48.3%, 0%, 40.8%)
CIE-LABlab(43.54, 38.94, -28.70)
CIE-LCHlch(43.54, 48.37, 323.61°)
OKLaboklab(52.94% 0.1052 -0.079)
OKLCHoklch(52.94% 0.132 323.1)
XYZxyz(19.6374, 13.5236, 30.8481)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E97 #56974E
analogous
#6B4E97 #8F4E97 #974E7A
triadic
#8F4E97 #978F4E #4E978F
tetradic
#8F4E97 #976B4E #56974E #4E7A97
square
#8F4E97 #976B4E #56974E #4E7A97
split-complementary
#8F4E97 #7A974E #4E976B
monochromatic
#432446 #69396F #8F4E97 #AC6EB4 #C396C9

Accessibility & contrast

On white

5.67
#8F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E97
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E97#FFFFFF#000000##FFFFFF
##8F4E971.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#91576B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4e97;
/* rgb */ color: rgb(143, 78, 151);
/* oklch */ color: oklch(52.9% 0.132 323.1);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8f4e97',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e97;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e97",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 293.425,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.13157,
    "h": 323.1
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#8F4E97
secondary
#90B68B
accent
#C8606B
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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