#8F2CA7#8F2CA7

#8F2CA7 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 319.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2CA7
RGBrgb(143, 44, 167)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 74%, 65%)
CMYKcmyk(14.4%, 73.7%, 0%, 34.5%)
CIE-LABlab(38.61, 58.01, -46.11)
CIE-LCHlch(38.61, 74.11, 321.52°)
OKLaboklab(49.63% 0.1486 -0.1294)
OKLCHoklch(49.63% 0.197 319)
XYZxyz(19.2025, 10.4319, 37.5538)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA7 #44A72C
analogous
#522CA7 #8F2CA7 #A72C82
triadic
#8F2CA7 #A78F2C #2CA78F
tetradic
#8F2CA7 #A7522C #44A72C #2C82A7
square
#8F2CA7 #A7522C #44A72C #2C82A7
split-complementary
#8F2CA7 #82A72C #2CA752
monochromatic
#3C1246 #661F77 #8F2CA7 #B243CD #C673DA

Accessibility & contrast

On white

6.80
#8F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CA7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CA7#FFFFFF#000000##FFFFFF
##8F2CA71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#8F4567
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ca7;
/* rgb */ color: rgb(143, 44, 167);
/* oklch */ color: oklch(49.6% 0.197 319.0);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#8f2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca7;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca7",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 288.293,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.19707,
    "h": 319
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#8F2CA7
secondary
#7EC26D
accent
#E24665
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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