#8F299F#8F299F

#8F299F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 321.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F299F
RGBrgb(143, 41, 159)
HSLhsl(292, 59%, 39%)
HSVhsv(292, 74%, 62%)
CMYKcmyk(10.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(37.72, 57.59, -42.73)
CIE-LCHlch(37.72, 71.71, 323.43°)
OKLaboklab(48.84% 0.1522 -0.1195)
OKLCHoklch(48.84% 0.193 321.9)
XYZxyz(18.3780, 9.9297, 33.7428)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F299F #399F29
analogous
#54299F #8F299F #9F2974
triadic
#8F299F #9F8F29 #299F8F
tetradic
#8F299F #9F5429 #399F29 #29749F
square
#8F299F #9F5429 #399F29 #29749F
split-complementary
#8F299F #749F29 #299F54
monochromatic
#37103E #631C6E #8F299F #B839CC #CA6AD9

Accessibility & contrast

On white

7.03
#8F299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F299F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F299F#FFFFFF#000000##FFFFFF
##8F299F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#395D9C
Tritanopia (blue-blind)
#913F62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f299f;
/* rgb */ color: rgb(143, 41, 159);
/* oklch */ color: oklch(48.8% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#b36ebc',
    500: '#8f299f',
    950: '#000000',
  },
}
SCSS
$custom: #8f299f;
$custom-light: #b36ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f299f",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 291.864,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.19349,
    "h": 321.9
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#8F299F
secondary
#71BF65
accent
#E2465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F299F

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

Preview Lab → · Contrast checker → · Palette generator →

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