#8F2DA1#8F2DA1

#8F2DA1 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.191 H 321.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA1
RGBrgb(143, 45, 161)
HSLhsl(291, 56%, 40%)
HSVhsv(291, 72%, 63%)
CMYKcmyk(11.2%, 72%, 0%, 36.9%)
CIE-LABlab(38.36, 56.49, -42.91)
CIE-LCHlch(38.36, 70.94, 322.78°)
OKLaboklab(49.33% 0.1481 -0.12)
OKLCHoklch(49.33% 0.191 321)
XYZxyz(18.6984, 10.2906, 34.7127)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA1 #3FA12D
analogous
#552DA1 #8F2DA1 #A12D79
triadic
#8F2DA1 #A18F2D #2DA18F
tetradic
#8F2DA1 #A1552D #3FA12D #2D79A1
square
#8F2DA1 #A1552D #3FA12D #2D79A1
split-complementary
#8F2DA1 #79A12D #2DA155
monochromatic
#3A1241 #652071 #8F2DA1 #B541CA #C771D7

Accessibility & contrast

On white

6.87
#8F2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DA1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA1#FFFFFF#000000##FFFFFF
##8F2DA11.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#904364
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2da1;
/* rgb */ color: rgb(143, 45, 161);
/* oklch */ color: oklch(49.3% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#b36fbd',
    500: '#8f2da1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da1;
$custom-light: #b36fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da1",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 290.69,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.19062,
    "h": 321
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#8F2DA1
secondary
#78BF6B
accent
#E04860
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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