#5D43D9#5D43D9

#5D43D9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.6% C 0.216 H 283.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5D43D9
RGBrgb(93, 67, 217)
HSLhsl(250, 66%, 56%)
HSVhsv(250, 69%, 85%)
CMYKcmyk(57.1%, 69.1%, 0%, 14.9%)
CIE-LABlab(40.16, 50.48, -73.13)
CIE-LCHlch(40.16, 88.86, 304.62°)
OKLaboklab(50.6% 0.0502 -0.2105)
OKLCHoklch(50.6% 0.216 283.4)
XYZxyz(19.0419, 11.3500, 66.8196)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43D9 #BFD943
analogous
#4374D9 #5D43D9 #A843D9
triadic
#5D43D9 #D95D43 #43D95D
tetradic
#5D43D9 #D94374 #BFD943 #43D9A8
square
#5D43D9 #D94374 #BFD943 #43D9A8
split-complementary
#5D43D9 #D9A843 #74D943
monochromatic
#2E1B86 #3F25B9 #5D43D9 #8976E3 #B5A9EE

Accessibility & contrast

On white

6.42
#5D43D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D43D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43D9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43D9#FFFFFF#000000##FFFFFF
##5D43D91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#186B89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d43d9;
/* rgb */ color: rgb(93, 67, 217);
/* oklch */ color: oklch(50.6% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#9779e6',
    500: '#5d43d9',
    950: '#000000',
  },
}
SCSS
$custom: #5d43d9;
$custom-light: #9779e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43d9",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 250.4,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.21641,
    "h": 283.4
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#5D43D9
secondary
#D0DB9D
accent
#E93FCC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D43D9

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

Preview Lab → · Contrast checker → · Palette generator →

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