#5C3AD7#5C3AD7

#5C3AD7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.224 H 284.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5C3AD7
RGBrgb(92, 58, 215)
HSLhsl(253, 66%, 54%)
HSVhsv(253, 73%, 84%)
CMYKcmyk(57.2%, 73%, 0%, 15.7%)
CIE-LABlab(38.21, 54.46, -75.18)
CIE-LCHlch(38.21, 92.84, 305.92°)
OKLaboklab(49.14% 0.0561 -0.2165)
OKLCHoklch(49.14% 0.224 284.5)
XYZxyz(18.1887, 10.2066, 65.2884)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AD7 #B5D73A
analogous
#3A66D7 #5C3AD7 #AB3AD7
triadic
#5C3AD7 #D75C3A #3AD75C
tetradic
#5C3AD7 #D73A66 #B5D73A #3AD7AB
square
#5C3AD7 #D73A66 #B5D73A #3AD7AB
split-complementary
#5C3AD7 #D7AB3A #66D73A
monochromatic
#2F197D #4224B0 #5C3AD7 #866DE1 #B0A0EC

Accessibility & contrast

On white

6.90
#5C3AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5C3AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3AD7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AD7#FFFFFF#000000##FFFFFF
##5C3AD71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDC
Deuteranopia (green-blind)
#0055D4
Tritanopia (blue-blind)
#196585
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3ad7;
/* rgb */ color: rgb(92, 58, 215);
/* oklch */ color: oklch(49.1% 0.224 284.5);
Tailwind
colors: {
  custom: {
    50: '#9774e5',
    500: '#5c3ad7',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ad7;
$custom-light: #9774e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ad7",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 215
  },
  "hsl": {
    "h": 252.994,
    "s": 66.245,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.22369,
    "h": 284.5
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#5C3AD7
secondary
#C9D895
accent
#E93FC4
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C3AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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