#8F4E98#8F4E98

#8F4E98 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.0% C 0.133 H 322.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F4E98
RGBrgb(143, 78, 152)
HSLhsl(293, 32%, 45%)
HSVhsv(293, 49%, 60%)
CMYKcmyk(5.9%, 48.7%, 0%, 40.4%)
CIE-LABlab(43.59, 39.14, -29.22)
CIE-LCHlch(43.59, 48.85, 323.26°)
OKLaboklab(52.99% 0.1053 -0.0805)
OKLCHoklch(52.99% 0.133 322.6)
XYZxyz(19.7190, 13.5563, 31.2776)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E98 #57984E
analogous
#6A4E98 #8F4E98 #984E7C
triadic
#8F4E98 #988F4E #4E988F
tetradic
#8F4E98 #986A4E #57984E #4E7C98
square
#8F4E98 #986A4E #57984E #4E7C98
split-complementary
#8F4E98 #7C984E #4E986A
monochromatic
#432447 #693970 #8F4E98 #AC6EB5 #C397CA

Accessibility & contrast

On white

5.66
#8F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E98
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E98#FFFFFF#000000##FFFFFF
##8F4E981.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#91576C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4e98;
/* rgb */ color: rgb(143, 78, 152);
/* oklch */ color: oklch(53.0% 0.133 322.6);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8f4e98',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e98;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e98",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 292.703,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.13261,
    "h": 322.6
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#8F4E98
secondary
#91B68C
accent
#C85F6C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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