#8D35A2#8D35A2

#8D35A2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.181 H 319.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D35A2
RGBrgb(141, 53, 162)
HSLhsl(288, 51%, 42%)
HSVhsv(288, 67%, 64%)
CMYKcmyk(13%, 67.3%, 0%, 36.5%)
CIE-LABlab(39.27, 52.97, -42.06)
CIE-LCHlch(39.27, 67.64, 321.55°)
OKLaboklab(49.95% 0.1369 -0.1177)
OKLCHoklch(49.95% 0.181 319.3)
XYZxyz(18.7784, 10.8184, 35.2744)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35A2 #4AA235
analogous
#5635A2 #8D35A2 #A23581
triadic
#8D35A2 #A28D35 #35A28D
tetradic
#8D35A2 #A25635 #4AA235 #3581A2
square
#8D35A2 #A25635 #4AA235 #3581A2
split-complementary
#8D35A2 #81A235 #35A256
monochromatic
#3D1746 #652674 #8D35A2 #AF4FC5 #C47DD4

Accessibility & contrast

On white

6.64
#8D35A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D35A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35A2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35A2#FFFFFF#000000##FFFFFF
##8D35A21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#8D4867
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d35a2;
/* rgb */ color: rgb(141, 53, 162);
/* oklch */ color: oklch(49.9% 0.181 319.3);
Tailwind
colors: {
  custom: {
    50: '#b273be',
    500: '#8d35a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d35a2;
$custom-light: #b273be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35a2",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 288.44,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.18054,
    "h": 319.3
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#8D35A2
secondary
#83BD75
accent
#DA4E69
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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