#8F2CA1#8F2CA1

#8F2CA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.192 H 321.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8F2CA1
RGBrgb(143, 44, 161)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 73%, 63%)
CMYKcmyk(11.2%, 72.7%, 0%, 36.9%)
CIE-LABlab(38.23, 56.87, -43.12)
CIE-LCHlch(38.23, 71.37, 322.83°)
OKLaboklab(49.24% 0.1491 -0.1206)
OKLCHoklch(49.24% 0.192 321)
XYZxyz(18.6607, 10.2152, 34.7001)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA1 #3EA12C
analogous
#542CA1 #8F2CA1 #A12C79
triadic
#8F2CA1 #A18F2C #2CA18F
tetradic
#8F2CA1 #A1542C #3EA12C #2C79A1
square
#8F2CA1 #A1542C #3EA12C #2C79A1
split-complementary
#8F2CA1 #79A12C #2CA154
monochromatic
#3A1241 #641F71 #8F2CA1 #B540CB #C870D8

Accessibility & contrast

On white

6.90
#8F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CA1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CA1#FFFFFF#000000##FFFFFF
##8F2CA11.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#395E9E
Tritanopia (blue-blind)
#904264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ca1;
/* rgb */ color: rgb(143, 44, 161);
/* oklch */ color: oklch(49.2% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#b36fbd',
    500: '#8f2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca1;
$custom-light: #b36fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca1",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 290.769,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.1918,
    "h": 321
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#8F2CA1
secondary
#77BF6A
accent
#E0475F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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