#5D43C8#5D43C8

#5D43C8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.196 H 285.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5D43C8
RGBrgb(93, 67, 200)
HSLhsl(252, 55%, 52%)
HSVhsv(252, 67%, 78%)
CMYKcmyk(53.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.74, 45.44, -65.63)
CIE-LCHlch(38.74, 79.83, 304.69°)
OKLaboklab(49.14% 0.0528 -0.1885)
OKLCHoklch(49.14% 0.196 285.6)
XYZxyz(16.9436, 10.5107, 55.7683)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43C8 #AEC843
analogous
#436CC8 #5D43C8 #9F43C8
triadic
#5D43C8 #C85D43 #43C85D
tetradic
#5D43C8 #C8436C #AEC843 #43C89F
square
#5D43C8 #C8436C #AEC843 #43C89F
split-complementary
#5D43C8 #C89F43 #6CC843
monochromatic
#302170 #452F9F #5D43C8 #8672D6 #AFA2E4

Accessibility & contrast

On white

6.77
#5D43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5D43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43C8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43C8#FFFFFF#000000##FFFFFF
##5D43C81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#306580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d43c8;
/* rgb */ color: rgb(93, 67, 200);
/* oklch */ color: oklch(49.1% 0.196 285.6);
Tailwind
colors: {
  custom: {
    50: '#9579da',
    500: '#5d43c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d43c8;
$custom-light: #9579da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43c8",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 251.729,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.1958,
    "h": 285.6
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#5D43C8
secondary
#C5D096
accent
#DE4AC1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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