#8F2DA9#8F2DA9

#8F2DA9 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 318.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA9
RGBrgb(143, 45, 169)
HSLhsl(287, 58%, 42%)
HSVhsv(287, 73%, 66%)
CMYKcmyk(15.4%, 73.4%, 0%, 33.7%)
CIE-LABlab(38.87, 58.03, -46.89)
CIE-LCHlch(38.87, 74.60, 321.06°)
OKLaboklab(49.86% 0.1475 -0.1317)
OKLCHoklch(49.86% 0.198 318.2)
XYZxyz(19.4265, 10.5819, 38.5476)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA9 #47A92D
analogous
#512DA9 #8F2DA9 #A92D85
triadic
#8F2DA9 #A98F2D #2DA98F
tetradic
#8F2DA9 #A9512D #47A92D #2D85A9
square
#8F2DA9 #A9512D #47A92D #2D85A9
split-complementary
#8F2DA9 #85A92D #2DA951
monochromatic
#3D1348 #662079 #8F2DA9 #B146CE #C576DA

Accessibility & contrast

On white

6.74
#8F2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DA9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA9#FFFFFF#000000##FFFFFF
##8F2DA91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#335FA6
Tritanopia (blue-blind)
#8E4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2da9;
/* rgb */ color: rgb(143, 45, 169);
/* oklch */ color: oklch(49.9% 0.198 318.2);
Tailwind
colors: {
  custom: {
    50: '#b470c3',
    500: '#8f2da9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da9;
$custom-light: #b470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da9",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 287.419,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.1977,
    "h": 318.2
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#8F2DA9
secondary
#81C26F
accent
#E14767
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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