#5E43CD#5E43CD

#5E43CD is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.7% C 0.202 H 285.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5E43CD
RGBrgb(94, 67, 205)
HSLhsl(252, 58%, 53%)
HSVhsv(252, 67%, 80%)
CMYKcmyk(54.1%, 67.3%, 0%, 19.6%)
CIE-LABlab(39.24, 47.09, -67.71)
CIE-LCHlch(39.24, 82.48, 304.81°)
OKLaboklab(49.65% 0.0535 -0.1946)
OKLCHoklch(49.65% 0.202 285.4)
XYZxyz(17.6394, 10.8008, 58.9011)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43CD #B2CD43
analogous
#436DCD #5E43CD #A343CD
triadic
#5E43CD #CD5E43 #43CD5E
tetradic
#5E43CD #CD436D #B2CD43 #43CDA3
square
#5E43CD #CD436D #B2CD43 #43CDA3
split-complementary
#5E43CD #CDA343 #6DCD43
monochromatic
#301F76 #442CA7 #5E43CD #8773DA #B1A4E7

Accessibility & contrast

On white

6.64
#5E43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43CD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43CD#FFFFFF#000000##FFFFFF
##5E43CD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#2E6682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e43cd;
/* rgb */ color: rgb(94, 67, 205);
/* oklch */ color: oklch(49.7% 0.202 285.4);
Tailwind
colors: {
  custom: {
    50: '#9679dd',
    500: '#5e43cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e43cd;
$custom-light: #9679dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43cd",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 251.739,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.20182,
    "h": 285.4
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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