#8F2C9C#8F2C9C

#8F2C9C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 322.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F2C9C
RGBrgb(143, 44, 156)
HSLhsl(293, 56%, 39%)
HSVhsv(293, 72%, 61%)
CMYKcmyk(8.3%, 71.8%, 0%, 38.8%)
CIE-LABlab(37.92, 55.93, -40.59)
CIE-LCHlch(37.92, 69.11, 324.03°)
OKLaboklab(48.92% 0.1494 -0.1133)
OKLCHoklch(48.92% 0.187 322.8)
XYZxyz(18.2285, 10.0424, 32.4243)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C9C #399C2C
analogous
#572C9C #8F2C9C #9C2C71
triadic
#8F2C9C #9C8F2C #2C9C8F
tetradic
#8F2C9C #9C572C #399C2C #2C719C
square
#8F2C9C #9C572C #399C2C #2C719C
split-complementary
#8F2C9C #719C2C #2C9C57
monochromatic
#37113D #631F6C #8F2C9C #B83DC8 #CA6DD6

Accessibility & contrast

On white

6.98
#8F2C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F2C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2C9C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C9C#FFFFFF#000000##FFFFFF
##8F2C9C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#914061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2c9c;
/* rgb */ color: rgb(143, 44, 156);
/* oklch */ color: oklch(48.9% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#b36fba',
    500: '#8f2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c9c;
$custom-light: #b36fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c9c",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 293.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.18745,
    "h": 322.8
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#8F2C9C
secondary
#71BD67
accent
#DF495A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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