#8F2C9F#8F2C9F

#8F2C9F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.190 H 321.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2C9F
RGBrgb(143, 44, 159)
HSLhsl(292, 57%, 40%)
HSVhsv(292, 72%, 62%)
CMYKcmyk(10.1%, 72.3%, 0%, 37.6%)
CIE-LABlab(38.10, 56.49, -42.11)
CIE-LCHlch(38.10, 70.46, 323.30°)
OKLaboklab(49.11% 0.1492 -0.1177)
OKLCHoklch(49.11% 0.19 321.7)
XYZxyz(18.4857, 10.1452, 33.7787)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C9F #3C9F2C
analogous
#552C9F #8F2C9F #9F2C76
triadic
#8F2C9F #9F8F2C #2C9F8F
tetradic
#8F2C9F #9F552C #3C9F2C #2C769F
square
#8F2C9F #9F552C #3C9F2C #2C769F
split-complementary
#8F2C9F #769F2C #2C9F55
monochromatic
#39113F #641F6F #8F2C9F #B63ECA #C86ED7

Accessibility & contrast

On white

6.93
#8F2C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F2C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2C9F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C9F#FFFFFF#000000##FFFFFF
##8F2C9F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#904163
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2c9f;
/* rgb */ color: rgb(143, 44, 159);
/* oklch */ color: oklch(49.1% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b36fbc',
    500: '#8f2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c9f;
$custom-light: #b36fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c9f",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 291.652,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.19006,
    "h": 321.7
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#8F2C9F
secondary
#75BE69
accent
#E0485D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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