#8F2EAC#8F2EAC

#8F2EAC is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.199 H 317.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F2EAC
RGBrgb(143, 46, 172)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 73%, 67%)
CMYKcmyk(16.9%, 73.3%, 0%, 32.5%)
CIE-LABlab(39.20, 58.24, -48.15)
CIE-LCHlch(39.20, 75.56, 320.42°)
OKLaboklab(50.15% 0.1462 -0.1354)
OKLCHoklch(50.15% 0.199 317.2)
XYZxyz(19.7500, 10.7730, 40.0608)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAC #4BAC2E
analogous
#502EAC #8F2EAC #AC2E8A
triadic
#8F2EAC #AC8F2E #2EAC8F
tetradic
#8F2EAC #AC502E #4BAC2E #2E8AAC
square
#8F2EAC #AC502E #4BAC2E #2E8AAC
split-complementary
#8F2EAC #8AAC2E #2EAC50
monochromatic
#3F144B #67217C #8F2EAC #B049CE #C579DB

Accessibility & contrast

On white

6.66
#8F2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAC#FFFFFF#000000##FFFFFF
##8F2EAC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#8E486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2eac;
/* rgb */ color: rgb(143, 46, 172);
/* oklch */ color: oklch(50.2% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#8f2eac',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eac;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eac",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 286.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.19926,
    "h": 317.2
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#8F2EAC
secondary
#85C372
accent
#E1476A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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