#8F2AB7#8F2AB7

#8F2AB7 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.213 H 314.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB7
RGBrgb(143, 42, 183)
HSLhsl(283, 63%, 44%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(21.9%, 77%, 0%, 28.2%)
CIE-LABlab(39.44, 61.88, -54.28)
CIE-LCHlch(39.44, 82.31, 318.74°)
OKLaboklab(50.56% 0.1484 -0.1533)
OKLCHoklch(50.56% 0.213 314.1)
XYZxyz(20.7014, 10.9152, 45.8069)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB7 #52B72A
analogous
#492AB7 #8F2AB7 #B72A99
triadic
#8F2AB7 #B78F2A #2AB78F
tetradic
#8F2AB7 #B7492A #52B72A #2A99B7
square
#8F2AB7 #B7492A #52B72A #2A99B7
split-complementary
#8F2AB7 #99B72A #2AB749
monochromatic
#411353 #681F85 #8F2AB7 #AD49D5 #C47BE1

Accessibility & contrast

On white

6.60
#8F2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8F2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB7#FFFFFF#000000##FFFFFF
##8F2AB71.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#8B4B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2ab7;
/* rgb */ color: rgb(143, 42, 183);
/* oklch */ color: oklch(50.6% 0.213 314.1);
Tailwind
colors: {
  custom: {
    50: '#b46fcd',
    500: '#8f2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab7;
$custom-light: #b46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab7",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 282.979,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.21337,
    "h": 314.1
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#8F2AB7
secondary
#8CC974
accent
#E64270
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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