#8F2BAB#8F2BAB

#8F2BAB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 317.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F2BAB
RGBrgb(143, 43, 171)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(16.4%, 74.9%, 0%, 32.9%)
CIE-LABlab(38.74, 59.16, -48.28)
CIE-LCHlch(38.74, 76.36, 320.78°)
OKLaboklab(49.81% 0.1492 -0.1358)
OKLCHoklch(49.81% 0.202 317.7)
XYZxyz(19.5412, 10.5085, 39.5192)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BAB #47AB2B
analogous
#4F2BAB #8F2BAB #AB2B87
triadic
#8F2BAB #AB8F2B #2BAB8F
tetradic
#8F2BAB #AB4F2B #47AB2B #2B87AB
square
#8F2BAB #AB4F2B #47AB2B #2B87AB
split-complementary
#8F2BAB #87AB2B #2BAB4F
monochromatic
#3D1249 #661F7A #8F2BAB #B143D0 #C574DC

Accessibility & contrast

On white

6.77
#8F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BAB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BAB#FFFFFF#000000##FFFFFF
##8F2BAB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#8E4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2bab;
/* rgb */ color: rgb(143, 43, 171);
/* oklch */ color: oklch(49.8% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#8f2bab',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bab;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bab",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 286.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.20171,
    "h": 317.7
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#8F2BAB
secondary
#81C46E
accent
#E34567
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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