#8F2AA2#8F2AA2

#8F2AA2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.195 H 320.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F2AA2
RGBrgb(143, 42, 162)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 64%)
CMYKcmyk(11.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(38.03, 57.79, -44.03)
CIE-LCHlch(38.03, 72.66, 322.70°)
OKLaboklab(49.12% 0.151 -0.1233)
OKLCHoklch(49.12% 0.195 320.8)
XYZxyz(18.6765, 10.1052, 35.1422)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA2 #3DA22A
analogous
#532AA2 #8F2AA2 #A22A79
triadic
#8F2AA2 #A28F2A #2AA28F
tetradic
#8F2AA2 #A2532A #3DA22A #2A79A2
square
#8F2AA2 #A2532A #3DA22A #2A79A2
split-complementary
#8F2AA2 #79A22A #2AA253
monochromatic
#391141 #641D71 #8F2AA2 #B63DCD #C86DD9

Accessibility & contrast

On white

6.95
#8F2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AA2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA2#FFFFFF#000000##FFFFFF
##8F2AA21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2aa2;
/* rgb */ color: rgb(143, 42, 162);
/* oklch */ color: oklch(49.1% 0.195 320.8);
Tailwind
colors: {
  custom: {
    50: '#b36ebe',
    500: '#8f2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa2;
$custom-light: #b36ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa2",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 290.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.19495,
    "h": 320.8
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#8F2AA2
secondary
#76C068
accent
#E2465F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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