#5C3EE3#5C3EE3

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

Color values

HEX#5C3EE3
RGBrgb(92, 62, 227)
HSLhsl(251, 75%, 57%)
HSVhsv(251, 73%, 89%)
CMYKcmyk(59.5%, 72.7%, 0%, 11%)
CIE-LABlab(40.02, 55.90, -79.07)
CIE-LCHlch(40.02, 96.84, 305.26°)
OKLaboklab(50.75% 0.0506 -0.2279)
OKLCHoklch(50.75% 0.233 282.5)
XYZxyz(19.9971, 11.2652, 73.7788)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EE3 #C5E33E
analogous
#3E73E3 #5C3EE3 #AF3EE3
triadic
#5C3EE3 #E35C3E #3EE35C
tetradic
#5C3EE3 #E33E73 #C5E33E #3EE3AF
square
#5C3EE3 #E33E73 #C5E33E #3EE3AF
split-complementary
#5C3EE3 #E3AF3E #73E33E
monochromatic
#2C1591 #3C1DC7 #5C3EE3 #8973EB #B6A9F3

Accessibility & contrast

On white

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

On black

3.25
#5C3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C3EE3#FFFFFF#000000##FFFFFF
##5C3EE31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0059E0
Tritanopia (blue-blind)
#006C8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c3ee3;
/* rgb */ color: rgb(92, 62, 227);
/* oklch */ color: oklch(50.8% 0.233 282.5);
Tailwind
colors: {
  custom: {
    50: '#9977ed',
    500: '#5c3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ee3;
$custom-light: #9977ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ee3",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 250.909,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.23348,
    "h": 282.5
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#5C3EE3
secondary
#D4E09D
accent
#F137CF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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