#8F5EA4#8F5EA4

#8F5EA4 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.2% C 0.118 H 315.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8F5EA4
RGBrgb(143, 94, 164)
HSLhsl(282, 28%, 51%)
HSVhsv(282, 43%, 64%)
CMYKcmyk(12.8%, 42.7%, 0%, 35.7%)
CIE-LABlab(47.66, 32.75, -29.99)
CIE-LCHlch(47.66, 44.41, 317.52°)
OKLaboklab(56.21% 0.0834 -0.0829)
OKLCHoklch(56.21% 0.118 315.2)
XYZxyz(22.0302, 16.5259, 37.1441)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EA4 #73A45E
analogous
#6C5EA4 #8F5EA4 #A45E96
triadic
#8F5EA4 #A48F5E #5EA48F
tetradic
#8F5EA4 #A46C5E #73A45E #5E96A4
square
#8F5EA4 #A46C5E #73A45E #5E96A4
split-complementary
#8F5EA4 #96A45E #5EA46C
monochromatic
#4B3157 #6D477E #8F5EA4 #AA85BA #C5ACD0

Accessibility & contrast

On white

4.88
#8F5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8F5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5EA4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EA4#FFFFFF#000000##FFFFFF
##8F5EA41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#8E6879
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f5ea4;
/* rgb */ color: rgb(143, 94, 164);
/* oklch */ color: oklch(56.2% 0.118 315.2);
Tailwind
colors: {
  custom: {
    50: '#b18dbf',
    500: '#8f5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ea4;
$custom-light: #b18dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ea4",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 282,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.1176,
    "h": 315.2
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#8F5EA4
secondary
#A9BE9F
accent
#C46481
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #8F5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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