#8F2DA4#8F2DA4

#8F2DA4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.193 H 319.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA4
RGBrgb(143, 45, 164)
HSLhsl(289, 57%, 41%)
HSVhsv(289, 73%, 64%)
CMYKcmyk(12.8%, 72.6%, 0%, 35.7%)
CIE-LABlab(38.55, 57.06, -44.41)
CIE-LCHlch(38.55, 72.31, 322.11°)
OKLaboklab(49.53% 0.1479 -0.1244)
OKLCHoklch(49.53% 0.193 319.9)
XYZxyz(18.9661, 10.3977, 36.1227)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA4 #42A42D
analogous
#532DA4 #8F2DA4 #A42D7D
triadic
#8F2DA4 #A48F2D #2DA48F
tetradic
#8F2DA4 #A4532D #42A42D #2D7DA4
square
#8F2DA4 #A4532D #42A42D #2D7DA4
split-complementary
#8F2DA4 #7DA42D #2DA453
monochromatic
#3B1344 #652074 #8F2DA4 #B343CB #C773D9

Accessibility & contrast

On white

6.82
#8F2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DA4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA4#FFFFFF#000000##FFFFFF
##8F2DA41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#8F4466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2da4;
/* rgb */ color: rgb(143, 45, 164);
/* oklch */ color: oklch(49.5% 0.193 319.9);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8f2da4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da4;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da4",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 289.412,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.19327,
    "h": 319.9
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#8F2DA4
secondary
#7BC06D
accent
#E04863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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