#8F29A2#8F29A2

#8F29A2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 320.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F29A2
RGBrgb(143, 41, 162)
HSLhsl(291, 60%, 40%)
HSVhsv(291, 75%, 64%)
CMYKcmyk(11.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(37.91, 58.15, -44.23)
CIE-LCHlch(37.91, 73.06, 322.74°)
OKLaboklab(49.03% 0.152 -0.1239)
OKLCHoklch(49.03% 0.196 320.8)
XYZxyz(18.6415, 10.0351, 35.1305)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29A2 #3CA229
analogous
#5329A2 #8F29A2 #A22978
triadic
#8F29A2 #A28F29 #29A28F
tetradic
#8F29A2 #A25329 #3CA229 #2978A2
square
#8F29A2 #A25329 #3CA229 #2978A2
split-complementary
#8F29A2 #78A229 #29A253
monochromatic
#391040 #641D71 #8F29A2 #B63BCD #C86CDA

Accessibility & contrast

On white

6.98
#8F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F29A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29A2#FFFFFF#000000##FFFFFF
##8F29A21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#375D9F
Tritanopia (blue-blind)
#904164
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f29a2;
/* rgb */ color: rgb(143, 41, 162);
/* oklch */ color: oklch(49.0% 0.196 320.8);
Tailwind
colors: {
  custom: {
    50: '#b36ebe',
    500: '#8f29a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f29a2;
$custom-light: #b36ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29a2",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 290.579,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.19605,
    "h": 320.8
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#8F29A2
secondary
#75C067
accent
#E3455E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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