#8D30AF#8D30AF

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

Color values

HEX#8D30AF
RGBrgb(141, 48, 175)
HSLhsl(284, 57%, 44%)
HSVhsv(284, 73%, 69%)
CMYKcmyk(19.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(39.36, 57.65, -49.67)
CIE-LCHlch(39.36, 76.10, 319.25°)
OKLaboklab(50.28% 0.1414 -0.1399)
OKLCHoklch(50.28% 0.199 315.3)
XYZxyz(19.7781, 10.8725, 41.6059)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30AF #52AF30
analogous
#4D30AF #8D30AF #AF3091
triadic
#8D30AF #AF8D30 #30AF8D
tetradic
#8D30AF #AF4D30 #52AF30 #3091AF
square
#8D30AF #AF4D30 #52AF30 #3091AF
split-complementary
#8D30AF #91AF30 #30AF4D
monochromatic
#40164F #66237F #8D30AF #AC4ECE #C27EDC

Accessibility & contrast

On white

6.62
#8D30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30AF#FFFFFF#000000##FFFFFF
##8D30AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#8A4B6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d30af;
/* rgb */ color: rgb(141, 48, 175);
/* oklch */ color: oklch(50.3% 0.199 315.3);
Tailwind
colors: {
  custom: {
    50: '#b271c8',
    500: '#8d30af',
    950: '#000000',
  },
}
SCSS
$custom: #8d30af;
$custom-light: #b271c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30af",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 283.937,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.19893,
    "h": 315.3
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#8D30AF
secondary
#8BC476
accent
#E04870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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