#8F4E93#8F4E93

#8F4E93 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.7% C 0.127 H 325.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F4E93
RGBrgb(143, 78, 147)
HSLhsl(297, 31%, 44%)
HSVhsv(297, 47%, 58%)
CMYKcmyk(2.7%, 46.9%, 0%, 42.4%)
CIE-LABlab(43.35, 38.14, -26.59)
CIE-LCHlch(43.35, 46.49, 325.12°)
OKLaboklab(52.73% 0.1045 -0.073)
OKLCHoklch(52.73% 0.127 325.1)
XYZxyz(19.3181, 13.3959, 29.1662)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E93 #52934E
analogous
#6D4E93 #8F4E93 #934E75
triadic
#8F4E93 #938F4E #4E938F
tetradic
#8F4E93 #936D4E #52934E #4E7593
square
#8F4E93 #936D4E #52934E #4E7593
split-complementary
#8F4E93 #75934E #4E936D
monochromatic
#412443 #68396B #8F4E93 #AD6DB1 #C495C7

Accessibility & contrast

On white

5.71
#8F4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F4E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E93
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E93#FFFFFF#000000##FFFFFF
##8F4E931.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476195
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#925669
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f4e93;
/* rgb */ color: rgb(143, 78, 147);
/* oklch */ color: oklch(52.7% 0.127 325.1);
Tailwind
colors: {
  custom: {
    50: '#b182b3',
    500: '#8f4e93',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e93;
$custom-light: #b182b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e93",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 296.522,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.12744,
    "h": 325.1
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#8F4E93
secondary
#8CB38A
accent
#C76167
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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