#8F2F9F#8F2F9F

#8F2F9F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.186 H 321.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8F2F9F
RGBrgb(143, 47, 159)
HSLhsl(291, 54%, 40%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.1%, 70.4%, 0%, 37.6%)
CIE-LABlab(38.51, 55.34, -41.46)
CIE-LCHlch(38.51, 69.14, 323.16°)
OKLaboklab(49.4% 0.1461 -0.1158)
OKLCHoklch(49.4% 0.186 321.6)
XYZxyz(18.6015, 10.3769, 33.8173)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F9F #3F9F2F
analogous
#572F9F #8F2F9F #9F2F77
triadic
#8F2F9F #9F8F2F #2F9F8F
tetradic
#8F2F9F #9F572F #3F9F2F #2F779F
square
#8F2F9F #9F572F #3F9F2F #2F779F
split-complementary
#8F2F9F #779F2F #2F9F57
monochromatic
#3A1341 #652170 #8F2F9F #B544C8 #C773D6

Accessibility & contrast

On white

6.83
#8F2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F9F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F9F#FFFFFF#000000##FFFFFF
##8F2F9F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#904364
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2f9f;
/* rgb */ color: rgb(143, 47, 159);
/* oklch */ color: oklch(49.4% 0.186 321.6);
Tailwind
colors: {
  custom: {
    50: '#b370bc',
    500: '#8f2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f9f;
$custom-light: #b370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f9f",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 291.429,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.18644,
    "h": 321.6
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#8F2F9F
secondary
#78BD6D
accent
#DE4A5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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