#8C35BE#8C35BE

#8C35BE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.207 H 310.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8C35BE
RGBrgb(140, 53, 190)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 72%, 75%)
CMYKcmyk(26.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(40.96, 58.57, -55.95)
CIE-LCHlch(40.96, 81.00, 316.31°)
OKLaboklab(51.71% 0.1332 -0.1584)
OKLCHoklch(51.71% 0.207 310)
XYZxyz(21.3808, 11.8398, 49.8642)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C35BE #67BE35
analogous
#4735BE #8C35BE #BE35AC
triadic
#8C35BE #BE8C35 #35BE8C
tetradic
#8C35BE #BE4735 #67BE35 #35ACBE
square
#8C35BE #BE4735 #67BE35 #35ACBE
split-complementary
#8C35BE #ACBE35 #35BE47
monochromatic
#451A5E #69288E #8C35BE #A85ED2 #C28EDF

Accessibility & contrast

On white

6.24
#8C35BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8C35BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C35BE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C35BE#FFFFFF#000000##FFFFFF
##8C35BE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#855476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c35be;
/* rgb */ color: rgb(140, 53, 190);
/* oklch */ color: oklch(51.7% 0.207 310.0);
Tailwind
colors: {
  custom: {
    50: '#b274d2',
    500: '#8c35be',
    950: '#000000',
  },
}
SCSS
$custom: #8c35be;
$custom-light: #b274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c35be",
  "rgb": {
    "r": 140,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 278.102,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.20697,
    "h": 310
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#8C35BE
secondary
#9ECA85
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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