#5C3EBF#5C3EBF

#5C3EBF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.191 H 287.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5C3EBF
RGBrgb(92, 62, 191)
HSLhsl(254, 51%, 50%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(51.8%, 67.5%, 0%, 25.1%)
CIE-LABlab(36.90, 45.39, -63.40)
CIE-LCHlch(36.90, 77.98, 305.60°)
OKLaboklab(47.56% 0.0574 -0.182)
OKLCHoklch(47.56% 0.191 287.5)
XYZxyz(15.5375, 9.4814, 50.2915)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EBF #A1BF3E
analogous
#3E61BF #5C3EBF #9C3EBF
triadic
#5C3EBF #BF5C3E #3EBF5C
tetradic
#5C3EBF #BF3E61 #A1BF3E #3EBF9C
square
#5C3EBF #BF3E61 #A1BF3E #3EBF9C
split-complementary
#5C3EBF #BF9C3E #61BF3E
monochromatic
#2F2063 #462F91 #5C3EBF #826BCF #A999DE

Accessibility & contrast

On white

7.25
#5C3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EBF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EBF#FFFFFF#000000##FFFFFF
##5C3EBF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#365F79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3ebf;
/* rgb */ color: rgb(92, 62, 191);
/* oklch */ color: oklch(47.6% 0.191 287.5);
Tailwind
colors: {
  custom: {
    50: '#9375d3',
    500: '#5c3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ebf;
$custom-light: #9375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ebf",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 253.953,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.19083,
    "h": 287.5
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#5C3EBF
secondary
#BCCA8F
accent
#DA4DBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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