#8F2AB4#8F2AB4

#8F2AB4 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.211 H 314.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB4
RGBrgb(143, 42, 180)
HSLhsl(284, 62%, 44%)
HSVhsv(284, 77%, 71%)
CMYKcmyk(20.6%, 76.7%, 0%, 29.4%)
CIE-LABlab(39.23, 61.28, -52.85)
CIE-LCHlch(39.23, 80.92, 319.23°)
OKLaboklab(50.35% 0.1489 -0.1491)
OKLCHoklch(50.35% 0.211 314.9)
XYZxyz(20.3925, 10.7916, 44.1800)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB4 #4FB42A
analogous
#4A2AB4 #8F2AB4 #B42A94
triadic
#8F2AB4 #B48F2A #2AB48F
tetradic
#8F2AB4 #B44A2A #4FB42A #2A94B4
square
#8F2AB4 #B44A2A #4FB42A #2A94B4
split-complementary
#8F2AB4 #94B42A #2AB44A
monochromatic
#401351 #681E82 #8F2AB4 #AE47D4 #C479E0

Accessibility & contrast

On white

6.65
#8F2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB4#FFFFFF#000000##FFFFFF
##8F2AB41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#8C496E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2ab4;
/* rgb */ color: rgb(143, 42, 180);
/* oklch */ color: oklch(50.3% 0.211 314.9);
Tailwind
colors: {
  custom: {
    50: '#b46fcb',
    500: '#8f2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab4;
$custom-light: #b46fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab4",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 283.913,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.21071,
    "h": 314.9
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#8F2AB4
secondary
#89C872
accent
#E5436E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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