#8C35CF#8C35CF

#8C35CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.0% C 0.223 H 305.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8C35CF
RGBrgb(140, 53, 207)
HSLhsl(274, 62%, 51%)
HSVhsv(274, 74%, 81%)
CMYKcmyk(32.4%, 74.4%, 0%, 18.8%)
CIE-LABlab(42.20, 62.30, -63.84)
CIE-LCHlch(42.20, 89.20, 314.30°)
OKLaboklab(52.97% 0.1302 -0.1816)
OKLCHoklch(52.97% 0.223 305.6)
XYZxyz(23.3483, 12.6268, 60.2266)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35CF #78CF35
analogous
#3F35CF #8C35CF #CF35C5
triadic
#8C35CF #CF8C35 #35CF8C
tetradic
#8C35CF #CF3F35 #78CF35 #35C5CF
square
#8C35CF #CF3F35 #78CF35 #35C5CF
split-complementary
#8C35CF #C5CF35 #35CF3F
monochromatic
#4A1A6F #6B26A1 #8C35CF #A866DB #C498E7

Accessibility & contrast

On white

5.96
#8C35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8C35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C35CF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C35CF#FFFFFF#000000##FFFFFF
##8C35CF1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#805B80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c35cf;
/* rgb */ color: rgb(140, 53, 207);
/* oklch */ color: oklch(53.0% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#b375df',
    500: '#8c35cf',
    950: '#000000',
  },
}
SCSS
$custom: #8c35cf;
$custom-light: #b375df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35cf",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 273.896,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.22346,
    "h": 305.6
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#8C35CF
secondary
#ABD28E
accent
#E54389
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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