#8F299E#8F299E

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

Color values

HEX#8F299E
RGBrgb(143, 41, 158)
HSLhsl(292, 59%, 39%)
HSVhsv(292, 74%, 62%)
CMYKcmyk(9.5%, 74.1%, 0%, 38%)
CIE-LABlab(37.65, 57.41, -42.23)
CIE-LCHlch(37.65, 71.26, 323.66°)
OKLaboklab(48.77% 0.1523 -0.118)
OKLCHoklch(48.77% 0.193 322.2)
XYZxyz(18.2915, 9.8952, 33.2876)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F299E #389E29
analogous
#55299E #8F299E #9E2973
triadic
#8F299E #9E8F29 #299E8F
tetradic
#8F299E #9E5529 #389E29 #29739E
square
#8F299E #9E5529 #389E29 #29739E
split-complementary
#8F299E #739E29 #299E55
monochromatic
#37103D #631C6D #8F299E #B939CC #CA69D8

Accessibility & contrast

On white

7.05
#8F299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F299E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F299E#FFFFFF#000000##FFFFFF
##8F299E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#913F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f299e;
/* rgb */ color: rgb(143, 41, 158);
/* oklch */ color: oklch(48.8% 0.193 322.2);
Tailwind
colors: {
  custom: {
    50: '#b36ebb',
    500: '#8f299e',
    950: '#000000',
  },
}
SCSS
$custom: #8f299e;
$custom-light: #b36ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f299e",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 292.308,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.19264,
    "h": 322.2
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#8F299E
secondary
#70BF64
accent
#E2465A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F299E

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

Preview Lab → · Contrast checker → · Palette generator →

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