#5D3FCA#5D3FCA

#5D3FCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.203 H 286.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5D3FCA
RGBrgb(93, 63, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 79%)
CMYKcmyk(54%, 68.8%, 0%, 20.8%)
CIE-LABlab(38.10, 48.23, -67.84)
CIE-LCHlch(38.10, 83.24, 305.41°)
OKLaboklab(48.73% 0.0561 -0.195)
OKLCHoklch(48.73% 0.203 286)
XYZxyz(16.9492, 10.1455, 56.9308)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FCA #ACCA3F
analogous
#3F66CA #5D3FCA #A33FCA
triadic
#5D3FCA #CA5D3F #3FCA5D
tetradic
#5D3FCA #CA3F66 #ACCA3F #3FCAA3
square
#5D3FCA #CA3F66 #ACCA3F #3FCAA3
split-complementary
#5D3FCA #CAA33F #66CA3F
monochromatic
#301F70 #452CA0 #5D3FCA #856FD7 #AE9FE4

Accessibility & contrast

On white

6.93
#5D3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5D3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FCA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FCA#FFFFFF#000000##FFFFFF
##5D3FCA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#2F6380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3fca;
/* rgb */ color: rgb(93, 63, 202);
/* oklch */ color: oklch(48.7% 0.203 286.0);
Tailwind
colors: {
  custom: {
    50: '#9576db',
    500: '#5d3fca',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fca;
$custom-light: #9576db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fca",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 252.95,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.20293,
    "h": 286
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#5D3FCA
secondary
#C4D194
accent
#E048BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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