#8C35D0#8C35D0

#8C35D0 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.224 H 305.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8C35D0
RGBrgb(140, 53, 208)
HSLhsl(274, 62%, 51%)
HSVhsv(274, 75%, 82%)
CMYKcmyk(32.7%, 74.5%, 0%, 18.4%)
CIE-LABlab(42.27, 62.52, -64.29)
CIE-LCHlch(42.27, 89.68, 314.20°)
OKLaboklab(53.04% 0.13 -0.1829)
OKLCHoklch(53.04% 0.224 305.4)
XYZxyz(23.4709, 12.6759, 60.8725)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35D0 #79D035
analogous
#3E35D0 #8C35D0 #D035C7
triadic
#8C35D0 #D08C35 #35D08C
tetradic
#8C35D0 #D03E35 #79D035 #35C7D0
square
#8C35D0 #D03E35 #79D035 #35C7D0
split-complementary
#8C35D0 #C7D035 #35D03E
monochromatic
#4B1A70 #6C26A2 #8C35D0 #A867DC #C598E7

Accessibility & contrast

On white

5.94
#8C35D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8C35D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C35D0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C35D0#FFFFFF#000000##FFFFFF
##8C35D01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#7F5B80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c35d0;
/* rgb */ color: rgb(140, 53, 208);
/* oklch */ color: oklch(53.0% 0.224 305.4);
Tailwind
colors: {
  custom: {
    50: '#b375df',
    500: '#8c35d0',
    950: '#000000',
  },
}
SCSS
$custom: #8c35d0;
$custom-light: #b375df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35d0",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 273.677,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.22442,
    "h": 305.4
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#8C35D0
secondary
#ACD38E
accent
#E5428A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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