#8D35D4#8D35D4

#8D35D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.229 H 304.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D35D4
RGBrgb(141, 53, 212)
HSLhsl(273, 65%, 52%)
HSVhsv(273, 75%, 83%)
CMYKcmyk(33.5%, 75%, 0%, 16.9%)
CIE-LABlab(42.71, 63.59, -65.88)
CIE-LCHlch(42.71, 91.57, 313.99°)
OKLaboklab(53.47% 0.1305 -0.1876)
OKLCHoklch(53.47% 0.229 304.8)
XYZxyz(24.1386, 12.9625, 63.5049)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35D4 #7CD435
analogous
#3E35D4 #8D35D4 #D435CB
triadic
#8D35D4 #D48D35 #35D48D
tetradic
#8D35D4 #D43E35 #7CD435 #35CBD4
square
#8D35D4 #D43E35 #7CD435 #35CBD4
split-complementary
#8D35D4 #CBD435 #35D43E
monochromatic
#4C1976 #6D24A8 #8D35D4 #A967DF #C69AE9

Accessibility & contrast

On white

5.85
#8D35D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8D35D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35D4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35D4#FFFFFF#000000##FFFFFF
##8D35D41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#7F5D83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d35d4;
/* rgb */ color: rgb(141, 53, 212);
/* oklch */ color: oklch(53.5% 0.229 304.8);
Tailwind
colors: {
  custom: {
    50: '#b475e2',
    500: '#8d35d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d35d4;
$custom-light: #b475e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35d4",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 212
  },
  "hsl": {
    "h": 273.208,
    "s": 64.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.22851,
    "h": 304.8
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#8D35D4
secondary
#AFD590
accent
#E8408B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8D35D4

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

Preview Lab → · Contrast checker → · Palette generator →

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