#5D3ECA#5D3ECA

#5D3ECA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.204 H 286.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5D3ECA
RGBrgb(93, 62, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 79%)
CMYKcmyk(54%, 69.3%, 0%, 20.8%)
CIE-LABlab(37.91, 48.77, -68.16)
CIE-LCHlch(37.91, 83.82, 305.58°)
OKLaboklab(48.59% 0.057 -0.196)
OKLCHoklch(48.59% 0.204 286.2)
XYZxyz(16.8943, 10.0358, 56.9126)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECA #ABCA3E
analogous
#3E65CA #5D3ECA #A33ECA
triadic
#5D3ECA #CA5D3E #3ECA5D
tetradic
#5D3ECA #CA3E65 #ABCA3E #3ECAA3
square
#5D3ECA #CA3E65 #ABCA3E #3ECAA3
split-complementary
#5D3ECA #CAA33E #65CA3E
monochromatic
#301F6F #452C9F #5D3ECA #856ED7 #AE9EE4

Accessibility & contrast

On white

6.98
#5D3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5D3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ECA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECA#FFFFFF#000000##FFFFFF
##5D3ECA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#2F627F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3eca;
/* rgb */ color: rgb(93, 62, 202);
/* oklch */ color: oklch(48.6% 0.204 286.2);
Tailwind
colors: {
  custom: {
    50: '#9576db',
    500: '#5d3eca',
    950: '#000000',
  },
}
SCSS
$custom: #5d3eca;
$custom-light: #9576db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3eca",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 253.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.20406,
    "h": 286.2
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#5D3ECA
secondary
#C3D193
accent
#E048BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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