#8D3FAF#8D3FAF

#8D3FAF is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.0% C 0.179 H 314.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8D3FAF
RGBrgb(141, 63, 175)
HSLhsl(282, 47%, 47%)
HSVhsv(282, 64%, 69%)
CMYKcmyk(19.4%, 64%, 0%, 31.4%)
CIE-LABlab(41.71, 51.10, -45.91)
CIE-LCHlch(41.71, 68.69, 318.06°)
OKLaboklab(51.96% 0.1248 -0.129)
OKLCHoklch(51.96% 0.179 314)
XYZxyz(20.4986, 12.3135, 41.8461)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FAF #61AF3F
analogous
#553FAF #8D3FAF #AF3F99
triadic
#8D3FAF #AF8D3F #3FAF8D
tetradic
#8D3FAF #AF553F #61AF3F #3F99AF
square
#8D3FAF #AF553F #61AF3F #3F99AF
split-complementary
#8D3FAF #99AF3F #3FAF55
monochromatic
#441F55 #692F82 #8D3FAF #A964C7 #C291D7

Accessibility & contrast

On white

6.06
#8D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FAF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FAF#FFFFFF#000000##FFFFFF
##8D3FAF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#8A5471
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3faf;
/* rgb */ color: rgb(141, 63, 175);
/* oklch */ color: oklch(52.0% 0.179 314.0);
Tailwind
colors: {
  custom: {
    50: '#b279c7',
    500: '#8d3faf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3faf;
$custom-light: #b279c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3faf",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 281.786,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.17946,
    "h": 314
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#8D3FAF
secondary
#99C387
accent
#D7517A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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