#8F2AB5#8F2AB5

#8F2AB5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 314.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB5
RGBrgb(143, 42, 181)
HSLhsl(284, 62%, 44%)
HSVhsv(284, 77%, 71%)
CMYKcmyk(21%, 76.8%, 0%, 29%)
CIE-LABlab(39.30, 61.48, -53.32)
CIE-LCHlch(39.30, 81.38, 319.06°)
OKLaboklab(50.42% 0.1487 -0.1505)
OKLCHoklch(50.42% 0.212 314.6)
XYZxyz(20.4948, 10.8325, 44.7184)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB5 #50B52A
analogous
#492AB5 #8F2AB5 #B52A95
triadic
#8F2AB5 #B58F2A #2AB58F
tetradic
#8F2AB5 #B5492A #50B52A #2A95B5
square
#8F2AB5 #B5492A #50B52A #2A95B5
split-complementary
#8F2AB5 #95B52A #2AB549
monochromatic
#411352 #681E83 #8F2AB5 #AE48D4 #C479E0

Accessibility & contrast

On white

6.63
#8F2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8F2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB5#FFFFFF#000000##FFFFFF
##8F2AB51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#8C4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2ab5;
/* rgb */ color: rgb(143, 42, 181);
/* oklch */ color: oklch(50.4% 0.212 314.6);
Tailwind
colors: {
  custom: {
    50: '#b46fcc',
    500: '#8f2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab5;
$custom-light: #b46fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab5",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 283.597,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.2116,
    "h": 314.6
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#8F2AB5
secondary
#8AC873
accent
#E5426F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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