#8F2BAD#8F2BAD

#8F2BAD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.203 H 317.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F2BAD
RGBrgb(143, 43, 173)
HSLhsl(286, 60%, 42%)
HSVhsv(286, 75%, 68%)
CMYKcmyk(17.3%, 75.1%, 0%, 32.2%)
CIE-LABlab(38.87, 59.54, -49.26)
CIE-LCHlch(38.87, 77.28, 320.40°)
OKLaboklab(49.95% 0.1489 -0.1386)
OKLCHoklch(49.95% 0.203 317.1)
XYZxyz(19.7333, 10.5854, 40.5308)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BAD #49AD2B
analogous
#4E2BAD #8F2BAD #AD2B8A
triadic
#8F2BAD #AD8F2B #2BAD8F
tetradic
#8F2BAD #AD4E2B #49AD2B #2B8AAD
square
#8F2BAD #AD4E2B #49AD2B #2B8AAD
split-complementary
#8F2BAD #8AAD2B #2BAD4E
monochromatic
#3E134B #661F7C #8F2BAD #B045D1 #C576DD

Accessibility & contrast

On white

6.74
#8F2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BAD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BAD#FFFFFF#000000##FFFFFF
##8F2BAD1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#8D476A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2bad;
/* rgb */ color: rgb(143, 43, 173);
/* oklch */ color: oklch(49.9% 0.203 317.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc6',
    500: '#8f2bad',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bad;
$custom-light: #b46fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bad",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 286.154,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.20347,
    "h": 317.1
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#8F2BAD
secondary
#83C46F
accent
#E34469
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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