#8F2ABD#8F2ABD

#8F2ABD is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.219 H 312.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F2ABD
RGBrgb(143, 42, 189)
HSLhsl(281, 64%, 45%)
HSVhsv(281, 78%, 74%)
CMYKcmyk(24.3%, 77.8%, 0%, 25.9%)
CIE-LABlab(39.87, 63.09, -57.12)
CIE-LCHlch(39.87, 85.10, 317.84°)
OKLaboklab(51% 0.1473 -0.1617)
OKLCHoklch(51% 0.219 312.3)
XYZxyz(21.3393, 11.1703, 49.1662)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2ABD #58BD2A
analogous
#452ABD #8F2ABD #BD2AA2
triadic
#8F2ABD #BD8F2A #2ABD8F
tetradic
#8F2ABD #BD452A #58BD2A #2AA2BD
square
#8F2ABD #BD452A #58BD2A #2AA2BD
split-complementary
#8F2ABD #A2BD2A #2ABD45
monochromatic
#431459 #691F8B #8F2ABD #AC4DD7 #C37FE3

Accessibility & contrast

On white

6.49
#8F2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2ABD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2ABD#FFFFFF#000000##FFFFFF
##8F2ABD1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0F60BA
Tritanopia (blue-blind)
#894D73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2abd;
/* rgb */ color: rgb(143, 42, 189);
/* oklch */ color: oklch(51.0% 0.219 312.3);
Tailwind
colors: {
  custom: {
    50: '#b56fd2',
    500: '#8f2abd',
    950: '#000000',
  },
}
SCSS
$custom: #8f2abd;
$custom-light: #b56fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2abd",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 281.224,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51,
    "c": 0.21871,
    "h": 312.3
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#8F2ABD
secondary
#92CB78
accent
#E74175
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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