#8C35C4#8C35C4

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

Color values

HEX#8C35C4
RGBrgb(140, 53, 196)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 73%, 77%)
CMYKcmyk(28.6%, 73%, 0%, 23.1%)
CIE-LABlab(41.39, 59.87, -58.77)
CIE-LCHlch(41.39, 83.90, 315.53°)
OKLaboklab(52.14% 0.1322 -0.1667)
OKLCHoklch(52.14% 0.213 308.4)
XYZxyz(22.0501, 12.1075, 53.3892)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35C4 #6DC435
analogous
#4435C4 #8C35C4 #C435B5
triadic
#8C35C4 #C48C35 #35C48C
tetradic
#8C35C4 #C44435 #6DC435 #35B5C4
square
#8C35C4 #C44435 #6DC435 #35B5C4
split-complementary
#8C35C4 #B5C435 #35C444
monochromatic
#471B64 #6A2894 #8C35C4 #A862D4 #C292E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C35C4#FFFFFF#000000##FFFFFF
##8C35C41.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)
#005EC8
Deuteranopia (green-blind)
#0463C1
Tritanopia (blue-blind)
#83567A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c35c4;
/* rgb */ color: rgb(140, 53, 196);
/* oklch */ color: oklch(52.1% 0.213 308.4);
Tailwind
colors: {
  custom: {
    50: '#b374d7',
    500: '#8c35c4',
    950: '#000000',
  },
}
SCSS
$custom: #8c35c4;
$custom-light: #b374d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35c4",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 276.503,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.21279,
    "h": 308.4
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#8C35C4
secondary
#A3CC88
accent
#E14783
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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