#8C35BD#8C35BD

#8C35BD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 310.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8C35BD
RGBrgb(140, 53, 189)
HSLhsl(278, 56%, 47%)
HSVhsv(278, 72%, 74%)
CMYKcmyk(25.9%, 72%, 0%, 25.9%)
CIE-LABlab(40.89, 58.35, -55.48)
CIE-LCHlch(40.89, 80.52, 316.45°)
OKLaboklab(51.64% 0.1333 -0.157)
OKLCHoklch(51.64% 0.206 310.3)
XYZxyz(21.2718, 11.7962, 49.2906)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35BD #66BD35
analogous
#4835BD #8C35BD #BD35AA
triadic
#8C35BD #BD8C35 #35BD8C
tetradic
#8C35BD #BD4835 #66BD35 #35AABD
square
#8C35BD #BD4835 #66BD35 #35AABD
split-complementary
#8C35BD #AABD35 #35BD48
monochromatic
#451A5D #69288D #8C35BD #A85DD2 #C28DDF

Accessibility & contrast

On white

6.25
#8C35BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8C35BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C35BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C35BD#FFFFFF#000000##FFFFFF
##8C35BD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#855476
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8c35bd;
/* rgb */ color: rgb(140, 53, 189);
/* oklch */ color: oklch(51.6% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#b274d2',
    500: '#8c35bd',
    950: '#000000',
  },
}
SCSS
$custom: #8c35bd;
$custom-light: #b274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35bd",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 278.382,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.206,
    "h": 310.3
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#8C35BD
secondary
#9DCA84
accent
#DF487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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