#8D35B5#8D35B5

#8D35B5 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 313.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D35B5
RGBrgb(141, 53, 181)
HSLhsl(281, 55%, 46%)
HSVhsv(281, 71%, 71%)
CMYKcmyk(22.1%, 70.7%, 0%, 29%)
CIE-LABlab(40.48, 56.85, -51.42)
CIE-LCHlch(40.48, 76.66, 317.87°)
OKLaboklab(51.2% 0.1356 -0.1451)
OKLCHoklch(51.2% 0.199 313.1)
XYZxyz(20.5966, 11.5457, 44.8507)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35B5 #5DB535
analogous
#4D35B5 #8D35B5 #B5359D
triadic
#8D35B5 #B58D35 #35B58D
tetradic
#8D35B5 #B54D35 #5DB535 #359DB5
square
#8D35B5 #B54D35 #5DB535 #359DB5
split-complementary
#8D35B5 #9DB535 #35B54D
monochromatic
#431956 #682786 #8D35B5 #AA59CE #C288DC

Accessibility & contrast

On white

6.35
#8D35B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D35B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35B5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35B5#FFFFFF#000000##FFFFFF
##8D35B51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#895071
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d35b5;
/* rgb */ color: rgb(141, 53, 181);
/* oklch */ color: oklch(51.2% 0.199 313.1);
Tailwind
colors: {
  custom: {
    50: '#b274cc',
    500: '#8d35b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d35b5;
$custom-light: #b274cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35b5",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 281.25,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.19861,
    "h": 313.1
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

primary
#8D35B5
secondary
#96C680
accent
#DE4A78
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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