#5C2EBC#5C2EBC

#5C2EBC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.205 H 290.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5C2EBC
RGBrgb(92, 46, 188)
HSLhsl(259, 61%, 46%)
HSVhsv(259, 76%, 74%)
CMYKcmyk(51.1%, 75.5%, 0%, 26.3%)
CIE-LABlab(33.69, 52.78, -66.88)
CIE-LCHlch(33.69, 85.20, 308.28°)
OKLaboklab(45.21% 0.0718 -0.1921)
OKLCHoklch(45.21% 0.205 290.5)
XYZxyz(14.4651, 7.8595, 48.3221)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EBC #8EBC2E
analogous
#2E47BC #5C2EBC #A32EBC
triadic
#5C2EBC #BC5C2E #2EBC5C
tetradic
#5C2EBC #BC2E47 #8EBC2E #2EBCA3
square
#5C2EBC #BC2E47 #8EBC2E #2EBCA3
split-complementary
#5C2EBC #BCA32E #47BC2E
monochromatic
#2C165A #44228B #5C2EBC #7D52D5 #A284E1

Accessibility & contrast

On white

8.16
#5C2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5C2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EBC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EBC#FFFFFF#000000##FFFFFF
##5C2EBC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#3A5573
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c2ebc;
/* rgb */ color: rgb(92, 46, 188);
/* oklch */ color: oklch(45.2% 0.205 290.5);
Tailwind
colors: {
  custom: {
    50: '#946cd1',
    500: '#5c2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ebc;
$custom-light: #946cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ebc",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 259.437,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.20514,
    "h": 290.5
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#5C2EBC
secondary
#B1CA7C
accent
#E444B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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