#5C3CE7#5C3CE7

#5C3CE7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.240 H 282.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5C3CE7
RGBrgb(92, 60, 231)
HSLhsl(251, 78%, 57%)
HSVhsv(251, 74%, 91%)
CMYKcmyk(60.2%, 74%, 0%, 9.4%)
CIE-LABlab(40.04, 58.05, -81.32)
CIE-LCHlch(40.04, 99.92, 305.52°)
OKLaboklab(50.87% 0.051 -0.2345)
OKLCHoklch(50.87% 0.24 282.3)
XYZxyz(20.4488, 11.2751, 76.6846)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CE7 #C7E73C
analogous
#3C72E7 #5C3CE7 #B23CE7
triadic
#5C3CE7 #E75C3C #3CE75C
tetradic
#5C3CE7 #E73C72 #C7E73C #3CE7B2
square
#5C3CE7 #E73C72 #C7E73C #3CE7B2
split-complementary
#5C3CE7 #E7B23C #72E73C
monochromatic
#2B1296 #3B19CD #5C3CE7 #8A72EE #B7A9F4

Accessibility & contrast

On white

6.45
#5C3CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5C3CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3CE7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CE7#FFFFFF#000000##FFFFFF
##5C3CE71.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064EC
Deuteranopia (green-blind)
#0058E4
Tritanopia (blue-blind)
#006D8F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c3ce7;
/* rgb */ color: rgb(92, 60, 231);
/* oklch */ color: oklch(50.9% 0.240 282.3);
Tailwind
colors: {
  custom: {
    50: '#9a76f0',
    500: '#5c3ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ce7;
$custom-light: #9a76f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ce7",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 231
  },
  "hsl": {
    "h": 251.228,
    "s": 78.082,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.23998,
    "h": 282.3
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#5C3CE7
secondary
#D5E29D
accent
#F533D0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5C3CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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