#5C3CE2#5C3CE2

#5C3CE2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.234 H 282.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5C3CE2
RGBrgb(92, 60, 226)
HSLhsl(252, 74%, 56%)
HSVhsv(252, 73%, 89%)
CMYKcmyk(59.3%, 73.5%, 0%, 11.4%)
CIE-LABlab(39.57, 56.62, -79.24)
CIE-LCHlch(39.57, 97.39, 305.55°)
OKLaboklab(50.41% 0.0522 -0.2284)
OKLCHoklch(50.41% 0.234 282.9)
XYZxyz(19.7527, 10.9967, 73.0185)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CE2 #C2E23C
analogous
#3C6FE2 #5C3CE2 #AF3CE2
triadic
#5C3CE2 #E25C3C #3CE25C
tetradic
#5C3CE2 #E23C6F #C2E23C #3CE2AF
square
#5C3CE2 #E23C6F #C2E23C #3CE2AF
split-complementary
#5C3CE2 #E2AF3C #6FE23C
monochromatic
#2D158E #3D1DC4 #5C3CE2 #8971EA #B5A7F2

Accessibility & contrast

On white

6.56
#5C3CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5C3CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3CE2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CE2#FFFFFF#000000##FFFFFF
##5C3CE21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c3ce2;
/* rgb */ color: rgb(92, 60, 226);
/* oklch */ color: oklch(50.4% 0.234 282.9);
Tailwind
colors: {
  custom: {
    50: '#9975ec',
    500: '#5c3ce2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ce2;
$custom-light: #9975ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ce2",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 226
  },
  "hsl": {
    "h": 251.566,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.23429,
    "h": 282.9
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#5C3CE2
secondary
#D2DF9B
accent
#F137CD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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