#5D43D8#5D43D8

#5D43D8 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.215 H 283.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D43D8
RGBrgb(93, 67, 216)
HSLhsl(250, 66%, 55%)
HSVhsv(250, 69%, 85%)
CMYKcmyk(56.9%, 69%, 0%, 15.3%)
CIE-LABlab(40.08, 50.19, -72.69)
CIE-LCHlch(40.08, 88.33, 304.62°)
OKLaboklab(50.51% 0.0504 -0.2092)
OKLCHoklch(50.51% 0.215 283.5)
XYZxyz(18.9122, 11.2981, 66.1366)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43D8 #BED843
analogous
#4373D8 #5D43D8 #A843D8
triadic
#5D43D8 #D85D43 #43D85D
tetradic
#5D43D8 #D84373 #BED843 #43D8A8
square
#5D43D8 #D84373 #BED843 #43D8A8
split-complementary
#5D43D8 #D8A843 #73D843
monochromatic
#2E1C85 #4026B8 #5D43D8 #8976E3 #B4A8ED

Accessibility & contrast

On white

6.44
#5D43D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D43D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43D8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43D8#FFFFFF#000000##FFFFFF
##5D43D81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#1A6A88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d43d8;
/* rgb */ color: rgb(93, 67, 216);
/* oklch */ color: oklch(50.5% 0.215 283.5);
Tailwind
colors: {
  custom: {
    50: '#9779e5',
    500: '#5d43d8',
    950: '#000000',
  },
}
SCSS
$custom: #5d43d8;
$custom-light: #9779e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43d8",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 250.47,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.21522,
    "h": 283.5
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#5D43D8
secondary
#D0DA9C
accent
#E93FCB
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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