#8C35CC#8C35CC

#8C35CC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.221 H 306.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8C35CC
RGBrgb(140, 53, 204)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 74%, 80%)
CMYKcmyk(31.4%, 74%, 0%, 20%)
CIE-LABlab(41.97, 61.63, -62.47)
CIE-LCHlch(41.97, 87.75, 314.62°)
OKLaboklab(52.74% 0.1308 -0.1776)
OKLCHoklch(52.74% 0.221 306.4)
XYZxyz(22.9850, 12.4815, 58.3133)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35CC #75CC35
analogous
#4135CC #8C35CC #CC35C0
triadic
#8C35CC #CC8C35 #35CC8C
tetradic
#8C35CC #CC4135 #75CC35 #35C0CC
square
#8C35CC #CC4135 #75CC35 #35C0CC
split-complementary
#8C35CC #C0CC35 #35CC41
monochromatic
#491B6B #6B279C #8C35CC #A866D8 #C497E5

Accessibility & contrast

On white

6.01
#8C35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8C35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C35CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C35CC#FFFFFF#000000##FFFFFF
##8C35CC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#815A7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c35cc;
/* rgb */ color: rgb(140, 53, 204);
/* oklch */ color: oklch(52.7% 0.221 306.4);
Tailwind
colors: {
  custom: {
    50: '#b375dc',
    500: '#8c35cc',
    950: '#000000',
  },
}
SCSS
$custom: #8c35cc;
$custom-light: #b375dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35cc",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 274.57,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.22054,
    "h": 306.4
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#8C35CC
secondary
#A9D08D
accent
#E34588
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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