#8D35B3#8D35B3

#8D35B3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.197 H 313.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8D35B3
RGBrgb(141, 53, 179)
HSLhsl(282, 54%, 45%)
HSVhsv(282, 70%, 70%)
CMYKcmyk(21.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(40.35, 56.44, -50.46)
CIE-LCHlch(40.35, 75.70, 318.20°)
OKLaboklab(51.07% 0.1358 -0.1423)
OKLCHoklch(51.07% 0.197 313.7)
XYZxyz(20.3929, 11.4642, 43.7777)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35B3 #5BB335
analogous
#4E35B3 #8D35B3 #B3359A
triadic
#8D35B3 #B38D35 #35B38D
tetradic
#8D35B3 #B34E35 #5BB335 #359AB3
square
#8D35B3 #B34E35 #5BB335 #359AB3
split-complementary
#8D35B3 #9AB335 #35B34E
monochromatic
#431955 #682784 #8D35B3 #AA58CD #C287DB

Accessibility & contrast

On white

6.38
#8D35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35B3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35B3#FFFFFF#000000##FFFFFF
##8D35B31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#894F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d35b3;
/* rgb */ color: rgb(141, 53, 179);
/* oklch */ color: oklch(51.1% 0.197 313.7);
Tailwind
colors: {
  custom: {
    50: '#b274ca',
    500: '#8d35b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d35b3;
$custom-light: #b274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35b3",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 281.905,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.1967,
    "h": 313.7
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#8D35B3
secondary
#94C57F
accent
#DE4A77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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