#8F30AC#8F30AC

#8F30AC is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.197 H 317.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8F30AC
RGBrgb(143, 48, 172)
HSLhsl(286, 56%, 43%)
HSVhsv(286, 72%, 67%)
CMYKcmyk(16.9%, 72.1%, 0%, 32.5%)
CIE-LABlab(39.47, 57.47, -47.71)
CIE-LCHlch(39.47, 74.69, 320.30°)
OKLaboklab(50.35% 0.1442 -0.1341)
OKLCHoklch(50.35% 0.197 317.1)
XYZxyz(19.8299, 10.9329, 40.0874)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30AC #4DAC30
analogous
#5130AC #8F30AC #AC308B
triadic
#8F30AC #AC8F30 #30AC8F
tetradic
#8F30AC #AC5130 #4DAC30 #308BAC
square
#8F30AC #AC5130 #4DAC30 #308BAC
split-complementary
#8F30AC #8BAC30 #30AC51
monochromatic
#3F154C #67237C #8F30AC #AF4CCD #C47CDA

Accessibility & contrast

On white

6.59
#8F30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8F30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30AC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30AC#FFFFFF#000000##FFFFFF
##8F30AC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3260A9
Tritanopia (blue-blind)
#8E496B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f30ac;
/* rgb */ color: rgb(143, 48, 172);
/* oklch */ color: oklch(50.3% 0.197 317.1);
Tailwind
colors: {
  custom: {
    50: '#b471c5',
    500: '#8f30ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f30ac;
$custom-light: #b471c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30ac",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 285.968,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.19693,
    "h": 317.1
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#8F30AC
secondary
#87C375
accent
#E0486C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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