#8F2AB1#8F2AB1

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

Color values

HEX#8F2AB1
RGBrgb(143, 42, 177)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 76%, 69%)
CMYKcmyk(19.2%, 76.3%, 0%, 30.6%)
CIE-LABlab(39.02, 60.69, -51.40)
CIE-LCHlch(39.02, 79.53, 319.73°)
OKLaboklab(50.14% 0.1493 -0.1449)
OKLCHoklch(50.14% 0.208 315.9)
XYZxyz(20.0902, 10.6707, 42.5878)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB1 #4CB12A
analogous
#4B2AB1 #8F2AB1 #B12A8F
triadic
#8F2AB1 #B18F2A #2AB18F
tetradic
#8F2AB1 #B14B2A #4CB12A #2A8FB1
square
#8F2AB1 #B14B2A #4CB12A #2A8FB1
split-complementary
#8F2AB1 #8FB12A #2AB14B
monochromatic
#3F134E #671E80 #8F2AB1 #AF45D3 #C477DF

Accessibility & contrast

On white

6.70
#8F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB1#FFFFFF#000000##FFFFFF
##8F2AB11.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#275FAE
Tritanopia (blue-blind)
#8D486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2ab1;
/* rgb */ color: rgb(143, 42, 177);
/* oklch */ color: oklch(50.1% 0.208 315.9);
Tailwind
colors: {
  custom: {
    50: '#b46fc9',
    500: '#8f2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab1;
$custom-light: #b46fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab1",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 284.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.20807,
    "h": 315.9
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#8F2AB1
secondary
#86C670
accent
#E5436C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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