#8F2AA1#8F2AA1

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

Color values

HEX#8F2AA1
RGBrgb(143, 42, 161)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 63%)
CMYKcmyk(11.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(37.97, 57.61, -43.53)
CIE-LCHlch(37.97, 72.20, 322.92°)
OKLaboklab(49.05% 0.1511 -0.1218)
OKLCHoklch(49.05% 0.194 321.1)
XYZxyz(18.5879, 10.0698, 34.6759)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA1 #3CA12A
analogous
#532AA1 #8F2AA1 #A12A78
triadic
#8F2AA1 #A18F2A #2AA18F
tetradic
#8F2AA1 #A1532A #3CA12A #2A78A1
square
#8F2AA1 #A1532A #3CA12A #2A78A1
split-complementary
#8F2AA1 #78A12A #2AA153
monochromatic
#391140 #641D70 #8F2AA1 #B63CCC #C86DD9

Accessibility & contrast

On white

6.97
#8F2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2AA1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA1#FFFFFF#000000##FFFFFF
##8F2AA11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#385D9E
Tritanopia (blue-blind)
#904163
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2aa1;
/* rgb */ color: rgb(143, 42, 161);
/* oklch */ color: oklch(49.1% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#b36ebd',
    500: '#8f2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa1;
$custom-light: #b36ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa1",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 290.924,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.19409,
    "h": 321.1
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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