#8F2BAE#8F2BAE

#8F2BAE is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.204 H 316.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8F2BAE
RGBrgb(143, 43, 174)
HSLhsl(286, 60%, 43%)
HSVhsv(286, 75%, 68%)
CMYKcmyk(17.8%, 75.3%, 0%, 31.8%)
CIE-LABlab(38.94, 59.74, -49.75)
CIE-LCHlch(38.94, 77.74, 320.21°)
OKLaboklab(50.02% 0.1488 -0.1401)
OKLCHoklch(50.02% 0.204 316.7)
XYZxyz(19.8304, 10.6242, 41.0423)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BAE #4AAE2B
analogous
#4E2BAE #8F2BAE #AE2B8B
triadic
#8F2BAE #AE8F2B #2BAE8F
tetradic
#8F2BAE #AE4E2B #4AAE2B #2B8BAE
square
#8F2BAE #AE4E2B #4AAE2B #2B8BAE
split-complementary
#8F2BAE #8BAE2B #2BAE4E
monochromatic
#3E134C #671F7D #8F2BAE #B045D1 #C576DD

Accessibility & contrast

On white

6.72
#8F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2BAE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BAE#FFFFFF#000000##FFFFFF
##8F2BAE1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2C5FAB
Tritanopia (blue-blind)
#8D476B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2bae;
/* rgb */ color: rgb(143, 43, 174);
/* oklch */ color: oklch(50.0% 0.204 316.7);
Tailwind
colors: {
  custom: {
    50: '#b46fc7',
    500: '#8f2bae',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bae;
$custom-light: #b46fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bae",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 285.802,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.20436,
    "h": 316.7
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#8F2BAE
secondary
#84C570
accent
#E4446A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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