#8F2CA9#8F2CA9

#8F2CA9 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 318.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F2CA9
RGBrgb(143, 44, 169)
HSLhsl(288, 59%, 42%)
HSVhsv(288, 74%, 66%)
CMYKcmyk(15.4%, 74%, 0%, 33.7%)
CIE-LABlab(38.74, 58.40, -47.10)
CIE-LCHlch(38.74, 75.02, 321.12°)
OKLaboklab(49.77% 0.1485 -0.1323)
OKLCHoklch(49.77% 0.199 318.3)
XYZxyz(19.3888, 10.5065, 38.5351)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA9 #46A92C
analogous
#512CA9 #8F2CA9 #A92C85
triadic
#8F2CA9 #A98F2C #2CA98F
tetradic
#8F2CA9 #A9512C #46A92C #2C85A9
square
#8F2CA9 #A9512C #46A92C #2C85A9
split-complementary
#8F2CA9 #85A92C #2CA951
monochromatic
#3D1348 #661F78 #8F2CA9 #B244CE #C674DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2CA9#FFFFFF#000000##FFFFFF
##8F2CA91.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)
#0055AC
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#8E4668
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ca9;
/* rgb */ color: rgb(143, 44, 169);
/* oklch */ color: oklch(49.8% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#b46fc3',
    500: '#8f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca9;
$custom-light: #b46fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca9",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 287.52,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.19884,
    "h": 318.3
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#8F2CA9
secondary
#80C36E
accent
#E24666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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