#8F4E95#8F4E95

#8F4E95 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.8% C 0.129 H 324.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F4E95
RGBrgb(143, 78, 149)
HSLhsl(295, 31%, 45%)
HSVhsv(295, 48%, 58%)
CMYKcmyk(4%, 47.7%, 0%, 41.6%)
CIE-LABlab(43.45, 38.54, -27.65)
CIE-LCHlch(43.45, 47.43, 324.35°)
OKLaboklab(52.83% 0.1048 -0.076)
OKLCHoklch(52.83% 0.129 324)
XYZxyz(19.4764, 13.4592, 29.9999)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E95 #54954E
analogous
#6C4E95 #8F4E95 #954E78
triadic
#8F4E95 #958F4E #4E958F
tetradic
#8F4E95 #956C4E #54954E #4E7895
square
#8F4E95 #956C4E #54954E #4E7895
split-complementary
#8F4E95 #78954E #4E956C
monochromatic
#422445 #68396D #8F4E95 #AD6DB3 #C496C8

Accessibility & contrast

On white

5.69
#8F4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8F4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E95
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E95#FFFFFF#000000##FFFFFF
##8F4E951.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#91566A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4e95;
/* rgb */ color: rgb(143, 78, 149);
/* oklch */ color: oklch(52.8% 0.129 324.0);
Tailwind
colors: {
  custom: {
    50: '#b182b4',
    500: '#8f4e95',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e95;
$custom-light: #b182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e95",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 294.93,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.12949,
    "h": 324
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#8F4E95
secondary
#8EB48A
accent
#C76069
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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