#5C2EDB#5C2EDB

#5C2EDB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.239 H 285.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5C2EDB
RGBrgb(92, 46, 219)
HSLhsl(256, 71%, 52%)
HSVhsv(256, 79%, 86%)
CMYKcmyk(58%, 79%, 0%, 14.1%)
CIE-LABlab(36.64, 61.17, -80.08)
CIE-LCHlch(36.64, 100.77, 307.38°)
OKLaboklab(48.15% 0.0629 -0.2307)
OKLCHoklch(48.15% 0.239 285.2)
XYZxyz(18.1729, 9.3427, 67.8498)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EDB #ADDB2E
analogous
#2E57DB #5C2EDB #B32EDB
triadic
#5C2EDB #DB5C2E #2EDB5C
tetradic
#5C2EDB #DB2E57 #ADDB2E #2EDBB3
square
#5C2EDB #DB2E57 #ADDB2E #2EDBB3
split-complementary
#5C2EDB #DBB32E #57DB2E
monochromatic
#30157A #441EAE #5C2EDB #8562E4 #AD96ED

Accessibility & contrast

On white

7.32
#5C2EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C2EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EDB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EDB#FFFFFF#000000##FFFFFF
##5C2EDB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0051D8
Tritanopia (blue-blind)
#116285
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c2edb;
/* rgb */ color: rgb(92, 46, 219);
/* oklch */ color: oklch(48.1% 0.239 285.2);
Tailwind
colors: {
  custom: {
    50: '#986de8',
    500: '#5c2edb',
    950: '#000000',
  },
}
SCSS
$custom: #5c2edb;
$custom-light: #986de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2edb",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 255.954,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4815,
    "c": 0.23915,
    "h": 285.2
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#5C2EDB
secondary
#C4D88D
accent
#ED3ABE
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #5C2EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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