#8F2DAD#8F2DAD

#8F2DAD is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.201 H 316.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2DAD
RGBrgb(143, 45, 173)
HSLhsl(286, 59%, 43%)
HSVhsv(286, 74%, 68%)
CMYKcmyk(17.3%, 74%, 0%, 32.2%)
CIE-LABlab(39.13, 58.81, -48.85)
CIE-LCHlch(39.13, 76.45, 320.29°)
OKLaboklab(50.13% 0.1471 -0.1374)
OKLCHoklch(50.13% 0.201 316.9)
XYZxyz(19.8078, 10.7344, 40.5556)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DAD #4BAD2D
analogous
#4F2DAD #8F2DAD #AD2D8B
triadic
#8F2DAD #AD8F2D #2DAD8F
tetradic
#8F2DAD #AD4F2D #4BAD2D #2D8BAD
square
#8F2DAD #AD4F2D #4BAD2D #2D8BAD
split-complementary
#8F2DAD #8BAD2D #2DAD4F
monochromatic
#3F144C #67207C #8F2DAD #B048CF #C578DC

Accessibility & contrast

On white

6.67
#8F2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DAD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DAD#FFFFFF#000000##FFFFFF
##8F2DAD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#8D486B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2dad;
/* rgb */ color: rgb(143, 45, 173);
/* oklch */ color: oklch(50.1% 0.201 316.9);
Tailwind
colors: {
  custom: {
    50: '#b470c6',
    500: '#8f2dad',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dad;
$custom-light: #b470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dad",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 285.938,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.20129,
    "h": 316.9
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#8F2DAD
secondary
#85C472
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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