#5D3FDE#5D3FDE

#5D3FDE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.227 H 283.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5D3FDE
RGBrgb(93, 63, 222)
HSLhsl(251, 71%, 56%)
HSVhsv(251, 72%, 87%)
CMYKcmyk(58.1%, 71.6%, 0%, 12.9%)
CIE-LABlab(39.84, 54.07, -76.52)
CIE-LCHlch(39.84, 93.69, 305.24°)
OKLaboklab(50.51% 0.0523 -0.2204)
OKLCHoklch(50.51% 0.227 283.4)
XYZxyz(19.4725, 11.1548, 70.2201)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FDE #C0DE3F
analogous
#3F70DE #5D3FDE #AD3FDE
triadic
#5D3FDE #DE5D3F #3FDE5D
tetradic
#5D3FDE #DE3F70 #C0DE3F #3FDEAD
square
#5D3FDE #DE3F70 #C0DE3F #3FDEAD
split-complementary
#5D3FDE #DEAD3F #70DE3F
monochromatic
#2E188B #3F21BF #5D3FDE #8973E7 #B5A7F0

Accessibility & contrast

On white

6.50
#5D3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5D3FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FDE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FDE#FFFFFF#000000##FFFFFF
##5D3FDE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#0A6A8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d3fde;
/* rgb */ color: rgb(93, 63, 222);
/* oklch */ color: oklch(50.5% 0.227 283.4);
Tailwind
colors: {
  custom: {
    50: '#9877ea',
    500: '#5d3fde',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fde;
$custom-light: #9877ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fde",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 251.321,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.22656,
    "h": 283.4
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#5D3FDE
secondary
#D1DD9B
accent
#ED3ACC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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