#5D43CA#5D43CA

#5D43CA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.198 H 285.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5D43CA
RGBrgb(93, 67, 202)
HSLhsl(252, 56%, 53%)
HSVhsv(252, 67%, 79%)
CMYKcmyk(54%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.91, 46.03, -66.53)
CIE-LCHlch(38.91, 80.90, 304.68°)
OKLaboklab(49.31% 0.0525 -0.1912)
OKLCHoklch(49.31% 0.198 285.4)
XYZxyz(17.1788, 10.6048, 57.0074)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43CA #B0CA43
analogous
#436CCA #5D43CA #A143CA
triadic
#5D43CA #CA5D43 #43CA5D
tetradic
#5D43CA #CA436C #B0CA43 #43CAA1
square
#5D43CA #CA436C #B0CA43 #43CAA1
split-complementary
#5D43CA #CAA143 #6CCA43
monochromatic
#302072 #442EA2 #5D43CA #8673D7 #AFA2E5

Accessibility & contrast

On white

6.73
#5D43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43CA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43CA#FFFFFF#000000##FFFFFF
##5D43CA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#2E6581
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d43ca;
/* rgb */ color: rgb(93, 67, 202);
/* oklch */ color: oklch(49.3% 0.198 285.4);
Tailwind
colors: {
  custom: {
    50: '#9579db',
    500: '#5d43ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d43ca;
$custom-light: #9579db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43ca",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 251.556,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.19826,
    "h": 285.4
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#5D43CA
secondary
#C6D297
accent
#DF48C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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