#8F2BC1#8F2BC1

#8F2BC1 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.221 H 311.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2BC1
RGBrgb(143, 43, 193)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(25.9%, 77.7%, 0%, 24.3%)
CIE-LABlab(40.28, 63.56, -58.80)
CIE-LCHlch(40.28, 86.59, 317.23°)
OKLaboklab(51.38% 0.1457 -0.1666)
OKLCHoklch(51.38% 0.221 311.2)
XYZxyz(21.8154, 11.4182, 51.4965)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BC1 #5DC12B
analogous
#442BC1 #8F2BC1 #C12BA8
triadic
#8F2BC1 #C18F2B #2BC18F
tetradic
#8F2BC1 #C1442B #5DC12B #2BA8C1
square
#8F2BC1 #C1442B #5DC12B #2BA8C1
split-complementary
#8F2BC1 #A8C12B #2BC144
monochromatic
#45155D #6A208F #8F2BC1 #AB51D8 #C383E3

Accessibility & contrast

On white

6.40
#8F2BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F2BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BC1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BC1#FFFFFF#000000##FFFFFF
##8F2BC11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0061BE
Tritanopia (blue-blind)
#885076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2bc1;
/* rgb */ color: rgb(143, 43, 193);
/* oklch */ color: oklch(51.4% 0.221 311.2);
Tailwind
colors: {
  custom: {
    50: '#b570d5',
    500: '#8f2bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bc1;
$custom-light: #b570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bc1",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 193
  },
  "hsl": {
    "h": 280,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.22132,
    "h": 311.2
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#8F2BC1
secondary
#96CC7B
accent
#E74178
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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