#8F2F9C#8F2F9C

#8F2F9C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.184 H 322.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F2F9C
RGBrgb(143, 47, 156)
HSLhsl(293, 54%, 40%)
HSVhsv(293, 70%, 61%)
CMYKcmyk(8.3%, 69.9%, 0%, 38.8%)
CIE-LABlab(38.33, 54.77, -39.94)
CIE-LCHlch(38.33, 67.79, 323.90°)
OKLaboklab(49.22% 0.1462 -0.1114)
OKLCHoklch(49.22% 0.184 322.7)
XYZxyz(18.3444, 10.2740, 32.4629)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F9C #3C9C2F
analogous
#592F9C #8F2F9C #9C2F73
triadic
#8F2F9C #9C8F2F #2F9C8F
tetradic
#8F2F9C #9C592F #3C9C2F #2F739C
square
#8F2F9C #9C592F #3C9C2F #2F739C
split-complementary
#8F2F9C #739C2F #2F9C59
monochromatic
#39133E #64216D #8F2F9C #B642C6 #C871D4

Accessibility & contrast

On white

6.87
#8F2F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F9C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F9C#FFFFFF#000000##FFFFFF
##8F2F9C1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#914262
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2f9c;
/* rgb */ color: rgb(143, 47, 156);
/* oklch */ color: oklch(49.2% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#b370ba',
    500: '#8f2f9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f9c;
$custom-light: #b370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f9c",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 292.844,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.18379,
    "h": 322.7
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#8F2F9C
secondary
#75BC6B
accent
#DD4B5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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