#5D43D6#5D43D6

#5D43D6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.213 H 283.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5D43D6
RGBrgb(93, 67, 214)
HSLhsl(251, 64%, 55%)
HSVhsv(251, 69%, 84%)
CMYKcmyk(56.5%, 68.7%, 0%, 16.1%)
CIE-LABlab(39.91, 49.59, -71.82)
CIE-LCHlch(39.91, 87.28, 304.63°)
OKLaboklab(50.34% 0.0507 -0.2067)
OKLCHoklch(50.34% 0.213 283.8)
XYZxyz(18.6552, 11.1954, 64.7832)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43D6 #BCD643
analogous
#4373D6 #5D43D6 #A643D6
triadic
#5D43D6 #D65D43 #43D65D
tetradic
#5D43D6 #D64373 #BCD643 #43D6A6
square
#5D43D6 #D64373 #BCD643 #43D6A6
split-complementary
#5D43D6 #D6A643 #73D643
monochromatic
#2E1C82 #4027B4 #5D43D6 #8875E1 #B4A7EC

Accessibility & contrast

On white

6.48
#5D43D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5D43D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43D6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43D6#FFFFFF#000000##FFFFFF
##5D43D61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#1E6A87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d43d6;
/* rgb */ color: rgb(93, 67, 214);
/* oklch */ color: oklch(50.3% 0.213 283.8);
Tailwind
colors: {
  custom: {
    50: '#9779e4',
    500: '#5d43d6',
    950: '#000000',
  },
}
SCSS
$custom: #5d43d6;
$custom-light: #9779e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43d6",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 250.612,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.21283,
    "h": 283.8
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#5D43D6
secondary
#CED99C
accent
#E741CA
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D43D6

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

Preview Lab → · Contrast checker → · Palette generator →

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