#8F5EA2#8F5EA2

#8F5EA2 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.1% C 0.115 H 316.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F5EA2
RGBrgb(143, 94, 162)
HSLhsl(283, 27%, 50%)
HSVhsv(283, 42%, 64%)
CMYKcmyk(11.7%, 42%, 0%, 36.5%)
CIE-LABlab(47.56, 32.31, -28.96)
CIE-LCHlch(47.56, 43.39, 318.14°)
OKLaboklab(56.11% 0.083 -0.0799)
OKLCHoklch(56.11% 0.115 316.1)
XYZxyz(21.8510, 16.4542, 36.2003)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EA2 #71A25E
analogous
#6D5EA2 #8F5EA2 #A25E93
triadic
#8F5EA2 #A28F5E #5EA28F
tetradic
#8F5EA2 #A26D5E #71A25E #5E93A2
square
#8F5EA2 #A26D5E #71A25E #5E93A2
split-complementary
#8F5EA2 #93A25E #5EA26D
monochromatic
#4B3155 #6D477B #8F5EA2 #AA85B8 #C5ACCF

Accessibility & contrast

On white

4.89
#8F5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5EA2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EA2#FFFFFF#000000##FFFFFF
##8F5EA21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#8E6778
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f5ea2;
/* rgb */ color: rgb(143, 94, 162);
/* oklch */ color: oklch(56.1% 0.115 316.1);
Tailwind
colors: {
  custom: {
    50: '#b18dbe',
    500: '#8f5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ea2;
$custom-light: #b18dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ea2",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 283.235,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.11524,
    "h": 316.1
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#8F5EA2
secondary
#A7BD9F
accent
#C3657F
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #8F5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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