#8F2AA8#8F2AA8

#8F2AA8 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 318.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F2AA8
RGBrgb(143, 42, 168)
HSLhsl(288, 60%, 41%)
HSVhsv(288, 75%, 66%)
CMYKcmyk(14.9%, 75%, 0%, 34.1%)
CIE-LABlab(38.42, 58.93, -47.01)
CIE-LCHlch(38.42, 75.39, 321.42°)
OKLaboklab(49.52% 0.1504 -0.132)
OKLCHoklch(49.52% 0.2 318.7)
XYZxyz(19.2226, 10.3236, 38.0183)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA8 #43A82A
analogous
#502AA8 #8F2AA8 #A82A82
triadic
#8F2AA8 #A88F2A #2AA88F
tetradic
#8F2AA8 #A8502A #43A82A #2A82A8
square
#8F2AA8 #A8502A #43A82A #2A82A8
split-complementary
#8F2AA8 #82A82A #2AA850
monochromatic
#3C1246 #651E77 #8F2AA8 #B340CF #C671DB

Accessibility & contrast

On white

6.85
#8F2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F2AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AA8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA8#FFFFFF#000000##FFFFFF
##8F2AA81.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#8F4467
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2aa8;
/* rgb */ color: rgb(143, 42, 168);
/* oklch */ color: oklch(49.5% 0.200 318.7);
Tailwind
colors: {
  custom: {
    50: '#b46ec2',
    500: '#8f2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa8;
$custom-light: #b46ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa8",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 288.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.20016,
    "h": 318.7
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#8F2AA8
secondary
#7DC36B
accent
#E34564
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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