#8F2ABA#8F2ABA

#8F2ABA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.216 H 313.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8F2ABA
RGBrgb(143, 42, 186)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(23.1%, 77.4%, 0%, 27.1%)
CIE-LABlab(39.65, 62.48, -55.70)
CIE-LCHlch(39.65, 83.71, 318.28°)
OKLaboklab(50.78% 0.1478 -0.1575)
OKLCHoklch(50.78% 0.216 313.2)
XYZxyz(21.0170, 11.0414, 47.4689)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2ABA #55BA2A
analogous
#472ABA #8F2ABA #BA2A9D
triadic
#8F2ABA #BA8F2A #2ABA8F
tetradic
#8F2ABA #BA472A #55BA2A #2A9DBA
square
#8F2ABA #BA472A #55BA2A #2A9DBA
split-complementary
#8F2ABA #9DBA2A #2ABA47
monochromatic
#421356 #691F88 #8F2ABA #AD4BD6 #C37DE2

Accessibility & contrast

On white

6.55
#8F2ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8F2ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2ABA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2ABA#FFFFFF#000000##FFFFFF
##8F2ABA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#1860B7
Tritanopia (blue-blind)
#8A4C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2aba;
/* rgb */ color: rgb(143, 42, 186);
/* oklch */ color: oklch(50.8% 0.216 313.2);
Tailwind
colors: {
  custom: {
    50: '#b46fd0',
    500: '#8f2aba',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aba;
$custom-light: #b46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aba",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 282.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.21604,
    "h": 313.2
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#8F2ABA
secondary
#8FCA76
accent
#E64273
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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