#8B35C6#8B35C6

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

Color values

HEX#8B35C6
RGBrgb(139, 53, 198)
HSLhsl(276, 58%, 49%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(29.8%, 73.2%, 0%, 22.4%)
CIE-LABlab(41.39, 60.12, -59.93)
CIE-LCHlch(41.39, 84.89, 315.09°)
OKLaboklab(52.17% 0.1305 -0.1701)
OKLCHoklch(52.17% 0.214 307.5)
XYZxyz(22.1114, 12.1127, 54.5883)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35C6 #70C635
analogous
#4235C6 #8B35C6 #C635B9
triadic
#8B35C6 #C68B35 #35C68B
tetradic
#8B35C6 #C64235 #70C635 #35B9C6
square
#8B35C6 #C64235 #70C635 #35B9C6
split-complementary
#8B35C6 #B9C635 #35C642
monochromatic
#471B65 #692896 #8B35C6 #A763D5 #C293E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B35C6#FFFFFF#000000##FFFFFF
##8B35C61.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)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#81577B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b35c6;
/* rgb */ color: rgb(139, 53, 198);
/* oklch */ color: oklch(52.2% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#b274d8',
    500: '#8b35c6',
    950: '#000000',
  },
}
SCSS
$custom: #8b35c6;
$custom-light: #b274d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35c6",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 275.586,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.21446,
    "h": 307.5
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#8B35C6
secondary
#A5CD8A
accent
#E14786
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8B35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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