#8F2A9F#8F2A9F

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

Color values

HEX#8F2A9F
RGBrgb(143, 42, 159)
HSLhsl(292, 58%, 39%)
HSVhsv(292, 74%, 62%)
CMYKcmyk(10.1%, 73.6%, 0%, 37.6%)
CIE-LABlab(37.84, 57.23, -42.53)
CIE-LCHlch(37.84, 71.30, 323.39°)
OKLaboklab(48.93% 0.1512 -0.1189)
OKLCHoklch(48.93% 0.192 321.8)
XYZxyz(18.4130, 9.9998, 33.7545)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A9F #3A9F2A
analogous
#552A9F #8F2A9F #9F2A75
triadic
#8F2A9F #9F8F2A #2A9F8F
tetradic
#8F2A9F #9F552A #3A9F2A #2A759F
square
#8F2A9F #9F552A #3A9F2A #2A759F
split-complementary
#8F2A9F #759F2A #2A9F55
monochromatic
#38103E #631D6F #8F2A9F #B73BCB #C96BD8

Accessibility & contrast

On white

7.00
#8F2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F2A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2A9F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A9F#FFFFFF#000000##FFFFFF
##8F2A9F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#914062
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2a9f;
/* rgb */ color: rgb(143, 42, 159);
/* oklch */ color: oklch(48.9% 0.192 321.8);
Tailwind
colors: {
  custom: {
    50: '#b36ebc',
    500: '#8f2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a9f;
$custom-light: #b36ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a9f",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 291.795,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.19236,
    "h": 321.8
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#8F2A9F
secondary
#72BF66
accent
#E1465C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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