#5D43C2#5D43C2

#5D43C2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.188 H 286.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5D43C2
RGBrgb(93, 67, 194)
HSLhsl(252, 51%, 51%)
HSVhsv(252, 65%, 76%)
CMYKcmyk(52.1%, 65.5%, 0%, 23.9%)
CIE-LABlab(38.26, 43.65, -62.92)
CIE-LCHlch(38.26, 76.58, 304.75°)
OKLaboklab(48.65% 0.0536 -0.1806)
OKLCHoklch(48.65% 0.188 286.5)
XYZxyz(16.2561, 10.2357, 52.1476)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43C2 #A8C243
analogous
#4368C2 #5D43C2 #9C43C2
triadic
#5D43C2 #C25D43 #43C25D
tetradic
#5D43C2 #C24368 #A8C243 #43C29C
square
#5D43C2 #C24368 #A8C243 #43C29C
split-complementary
#5D43C2 #C29C43 #68C243
monochromatic
#302269 #463197 #5D43C2 #8571D1 #AD9FE0

Accessibility & contrast

On white

6.89
#5D43C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5D43C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43C2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43C2#FFFFFF#000000##FFFFFF
##5D43C21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#36627C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d43c2;
/* rgb */ color: rgb(93, 67, 194);
/* oklch */ color: oklch(48.6% 0.188 286.5);
Tailwind
colors: {
  custom: {
    50: '#9479d5',
    500: '#5d43c2',
    950: '#000000',
  },
}
SCSS
$custom: #5d43c2;
$custom-light: #9479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43c2",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 252.283,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.18836,
    "h": 286.5
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#5D43C2
secondary
#C1CC94
accent
#DA4DBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5D43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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