#8F5698#8F5698

#8F5698 is a mid, moderate purple. Relative luminance 0.148; OKLCH L 54.3% C 0.118 H 322.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F5698
RGBrgb(143, 86, 152)
HSLhsl(292, 28%, 47%)
HSVhsv(292, 43%, 60%)
CMYKcmyk(5.9%, 43.4%, 0%, 40.4%)
CIE-LABlab(45.31, 34.73, -26.54)
CIE-LCHlch(45.31, 43.71, 322.61°)
OKLaboklab(54.27% 0.0932 -0.0729)
OKLCHoklch(54.27% 0.118 322)
XYZxyz(20.3223, 14.7630, 31.4787)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5698 #5F9856
analogous
#6E5698 #8F5698 #985680
triadic
#8F5698 #988F56 #56988F
tetradic
#8F5698 #986E56 #5F9856 #568098
square
#8F5698 #986E56 #5F9856 #568098
split-complementary
#8F5698 #809856 #56986E
monochromatic
#452A4A #6A4071 #8F5698 #AB78B3 #C39FC9

Accessibility & contrast

On white

5.31
#8F5698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8F5698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5698
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5698#FFFFFF#000000##FFFFFF
##8F56981.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E679A
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#915E70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f5698;
/* rgb */ color: rgb(143, 86, 152);
/* oklch */ color: oklch(54.3% 0.118 322.0);
Tailwind
colors: {
  custom: {
    50: '#b187b6',
    500: '#8f5698',
    950: '#000000',
  },
}
SCSS
$custom: #8f5698;
$custom-light: #b187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5698",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 291.818,
    "s": 27.731,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.11837,
    "h": 322
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#8F5698
secondary
#98B693
accent
#C46471
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F5698

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

Preview Lab → · Contrast checker → · Palette generator →

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