#8F5DA2#8F5DA2

#8F5DA2 is a mid, moderate purple. Relative luminance 0.163; OKLCH L 55.9% C 0.117 H 316.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F5DA2
RGBrgb(143, 93, 162)
HSLhsl(283, 27%, 50%)
HSVhsv(283, 43%, 64%)
CMYKcmyk(11.7%, 42.6%, 0%, 36.5%)
CIE-LABlab(47.34, 32.88, -29.31)
CIE-LCHlch(47.34, 44.05, 318.29°)
OKLaboklab(55.94% 0.0846 -0.0809)
OKLCHoklch(55.94% 0.117 316.3)
XYZxyz(21.7627, 16.2776, 36.1709)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DA2 #70A25D
analogous
#6C5DA2 #8F5DA2 #A25D93
triadic
#8F5DA2 #A28F5D #5DA28F
tetradic
#8F5DA2 #A26C5D #70A25D #5D93A2
square
#8F5DA2 #A26C5D #70A25D #5D93A2
split-complementary
#8F5DA2 #93A25D #5DA26C
monochromatic
#4A3054 #6D477B #8F5DA2 #AA84B8 #C5ABCF

Accessibility & contrast

On white

4.93
#8F5DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F5DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5DA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DA2#FFFFFF#000000##FFFFFF
##8F5DA21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#8E6678
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f5da2;
/* rgb */ color: rgb(143, 93, 162);
/* oklch */ color: oklch(55.9% 0.117 316.3);
Tailwind
colors: {
  custom: {
    50: '#b18cbe',
    500: '#8f5da2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5da2;
$custom-light: #b18cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5da2",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 283.478,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.11703,
    "h": 316.3
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#8F5DA2
secondary
#A6BD9E
accent
#C3647F
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #8F5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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