#8F2AC1#8F2AC1

#8F2AC1 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.222 H 311.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F2AC1
RGBrgb(143, 42, 193)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(25.9%, 78.2%, 0%, 24.3%)
CIE-LABlab(40.16, 63.91, -58.99)
CIE-LCHlch(40.16, 86.97, 317.29°)
OKLaboklab(51.3% 0.1465 -0.1672)
OKLCHoklch(51.3% 0.222 311.2)
XYZxyz(21.7795, 11.3464, 51.4845)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AC1 #5CC12A
analogous
#432AC1 #8F2AC1 #C12AA7
triadic
#8F2AC1 #C18F2A #2AC18F
tetradic
#8F2AC1 #C1432A #5CC12A #2AA7C1
square
#8F2AC1 #C1432A #5CC12A #2AA7C1
split-complementary
#8F2AC1 #A7C12A #2AC143
monochromatic
#45145C #6A1F8F #8F2AC1 #AB4FD9 #C382E4

Accessibility & contrast

On white

6.42
#8F2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AC1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AC1#FFFFFF#000000##FFFFFF
##8F2AC11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#884F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2ac1;
/* rgb */ color: rgb(143, 42, 193);
/* oklch */ color: oklch(51.3% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#b570d5',
    500: '#8f2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ac1;
$custom-light: #b570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ac1",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 280.132,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.22227,
    "h": 311.2
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#8F2AC1
secondary
#95CD7A
accent
#E74178
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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