#8F2AB9#8F2AB9

#8F2AB9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.215 H 313.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB9
RGBrgb(143, 42, 185)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(22.7%, 77.3%, 0%, 27.5%)
CIE-LABlab(39.58, 62.28, -55.23)
CIE-LCHlch(39.58, 83.24, 318.43°)
OKLaboklab(50.71% 0.148 -0.1561)
OKLCHoklch(50.71% 0.215 313.5)
XYZxyz(20.9111, 10.9990, 46.9110)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB9 #54B92A
analogous
#482AB9 #8F2AB9 #B92A9C
triadic
#8F2AB9 #B98F2A #2AB98F
tetradic
#8F2AB9 #B9482A #54B92A #2A9CB9
square
#8F2AB9 #B9482A #54B92A #2A9CB9
split-complementary
#8F2AB9 #9CB92A #2AB948
monochromatic
#421355 #681F87 #8F2AB9 #AD4AD6 #C47CE1

Accessibility & contrast

On white

6.56
#8F2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F2AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB9#FFFFFF#000000##FFFFFF
##8F2AB91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#1A5FB6
Tritanopia (blue-blind)
#8B4C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2ab9;
/* rgb */ color: rgb(143, 42, 185);
/* oklch */ color: oklch(50.7% 0.215 313.5);
Tailwind
colors: {
  custom: {
    50: '#b46fcf',
    500: '#8f2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab9;
$custom-light: #b46fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab9",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 282.378,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.21514,
    "h": 313.5
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#8F2AB9
secondary
#8ECA75
accent
#E64272
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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