#8F4DA2#8F4DA2

#8F4DA2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.4% C 0.145 H 318.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F4DA2
RGBrgb(143, 77, 162)
HSLhsl(287, 36%, 47%)
HSVhsv(287, 52%, 64%)
CMYKcmyk(11.7%, 52.5%, 0%, 36.5%)
CIE-LABlab(43.88, 41.75, -34.73)
CIE-LCHlch(43.88, 54.31, 320.24°)
OKLaboklab(53.36% 0.1082 -0.0964)
OKLCHoklch(53.36% 0.145 318.3)
XYZxyz(20.5023, 13.7568, 35.7508)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DA2 #60A24D
analogous
#654DA2 #8F4DA2 #A24D8B
triadic
#8F4DA2 #A28F4D #4DA28F
tetradic
#8F4DA2 #A2654D #60A24D #4D8BA2
square
#8F4DA2 #A2654D #60A24D #4D8BA2
split-complementary
#8F4DA2 #8BA24D #4DA265
monochromatic
#46264F #6A3979 #8F4DA2 #AB71BB #C39ACF

Accessibility & contrast

On white

5.60
#8F4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8F4DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DA2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DA2#FFFFFF#000000##FFFFFF
##8F4DA21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A5
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#8F5970
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4da2;
/* rgb */ color: rgb(143, 77, 162);
/* oklch */ color: oklch(53.4% 0.145 318.3);
Tailwind
colors: {
  custom: {
    50: '#b281be',
    500: '#8f4da2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4da2;
$custom-light: #b281be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4da2",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 286.588,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.14494,
    "h": 318.3
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#8F4DA2
secondary
#99BC8F
accent
#CC5C75
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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