#5D43CC#5D43CC

#5D43CC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.5% C 0.201 H 285.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5D43CC
RGBrgb(93, 67, 204)
HSLhsl(251, 57%, 53%)
HSVhsv(251, 67%, 80%)
CMYKcmyk(54.4%, 67.2%, 0%, 20%)
CIE-LABlab(39.07, 46.62, -67.42)
CIE-LCHlch(39.07, 81.97, 304.67°)
OKLaboklab(49.48% 0.0523 -0.1938)
OKLCHoklch(49.48% 0.201 285.1)
XYZxyz(17.4171, 10.7001, 58.2626)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43CC #B2CC43
analogous
#436DCC #5D43CC #A143CC
triadic
#5D43CC #CC5D43 #43CC5D
tetradic
#5D43CC #CC436D #B2CC43 #43CCA1
square
#5D43CC #CC436D #B2CC43 #43CCA1
split-complementary
#5D43CC #CCA143 #6DCC43
monochromatic
#302075 #442DA5 #5D43CC #8673D9 #B0A3E6

Accessibility & contrast

On white

6.69
#5D43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43CC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43CC#FFFFFF#000000##FFFFFF
##5D43CC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#2C6682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d43cc;
/* rgb */ color: rgb(93, 67, 204);
/* oklch */ color: oklch(49.5% 0.201 285.1);
Tailwind
colors: {
  custom: {
    50: '#9579dd',
    500: '#5d43cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d43cc;
$custom-light: #9579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43cc",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 251.387,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.2007,
    "h": 285.1
  },
  "luminance": 0.10701
}

Semantic roles & 50–950 ramp

primary
#5D43CC
secondary
#C8D398
accent
#E147C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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