#8D35C2#8D35C2

#8D35C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.211 H 309.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D35C2
RGBrgb(141, 53, 194)
HSLhsl(277, 57%, 48%)
HSVhsv(277, 73%, 76%)
CMYKcmyk(27.3%, 72.7%, 0%, 23.9%)
CIE-LABlab(41.38, 59.63, -57.60)
CIE-LCHlch(41.38, 82.91, 315.99°)
OKLaboklab(52.12% 0.1339 -0.1633)
OKLCHoklch(52.12% 0.211 309.4)
XYZxyz(21.9933, 12.1044, 52.2063)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35C2 #6AC235
analogous
#4635C2 #8D35C2 #C235B0
triadic
#8D35C2 #C28D35 #35C28D
tetradic
#8D35C2 #C24635 #6AC235 #35B0C2
square
#8D35C2 #C24635 #6AC235 #35B0C2
split-complementary
#8D35C2 #B0C235 #35C246
monochromatic
#471B62 #6A2892 #8D35C2 #A860D4 #C391E1

Accessibility & contrast

On white

6.14
#8D35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35C2#FFFFFF#000000##FFFFFF
##8D35C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1163BF
Tritanopia (blue-blind)
#855579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d35c2;
/* rgb */ color: rgb(141, 53, 194);
/* oklch */ color: oklch(52.1% 0.211 309.4);
Tailwind
colors: {
  custom: {
    50: '#b374d5',
    500: '#8d35c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d35c2;
$custom-light: #b374d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35c2",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 277.447,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.21113,
    "h": 309.4
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#8D35C2
secondary
#A1CC87
accent
#E04781
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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