#5C35D7#5C35D7

#5C35D7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.229 H 285.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5C35D7
RGBrgb(92, 53, 215)
HSLhsl(254, 67%, 53%)
HSVhsv(254, 75%, 84%)
CMYKcmyk(57.2%, 75.3%, 0%, 15.7%)
CIE-LABlab(37.35, 56.91, -76.60)
CIE-LCHlch(37.35, 95.43, 306.61°)
OKLaboklab(48.53% 0.0596 -0.2206)
OKLCHoklch(48.53% 0.229 285.1)
XYZxyz(17.9487, 9.7267, 65.2085)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35D7 #B0D735
analogous
#355FD7 #5C35D7 #AD35D7
triadic
#5C35D7 #D75C35 #35D75C
tetradic
#5C35D7 #D7355F #B0D735 #35D7AD
square
#5C35D7 #D7355F #B0D735 #35D7AD
split-complementary
#5C35D7 #D7AD35 #5FD735
monochromatic
#30187A #4422AD #5C35D7 #8568E1 #AE9BEB

Accessibility & contrast

On white

7.13
#5C35D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5C35D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35D7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35D7#FFFFFF#000000##FFFFFF
##5C35D71.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#1A6384
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c35d7;
/* rgb */ color: rgb(92, 53, 215);
/* oklch */ color: oklch(48.5% 0.229 285.1);
Tailwind
colors: {
  custom: {
    50: '#9771e5',
    500: '#5c35d7',
    950: '#000000',
  },
}
SCSS
$custom: #5c35d7;
$custom-light: #9771e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35d7",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 215
  },
  "hsl": {
    "h": 254.444,
    "s": 66.942,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.22856,
    "h": 285.1
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#5C35D7
secondary
#C6D791
accent
#EA3EC0
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C35D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5C35D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva