#5E43CA#5E43CA

#5E43CA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.198 H 285.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5E43CA
RGBrgb(94, 67, 202)
HSLhsl(252, 56%, 53%)
HSVhsv(252, 67%, 79%)
CMYKcmyk(53.5%, 66.8%, 0%, 20.8%)
CIE-LABlab(39.00, 46.20, -66.38)
CIE-LCHlch(39.00, 80.87, 304.84°)
OKLaboklab(49.4% 0.0539 -0.1907)
OKLCHoklch(49.4% 0.198 285.8)
XYZxyz(17.2807, 10.6573, 57.0122)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43CA #AFCA43
analogous
#436BCA #5E43CA #A243CA
triadic
#5E43CA #CA5E43 #43CA5E
tetradic
#5E43CA #CA436B #AFCA43 #43CAA2
square
#5E43CA #CA436B #AFCA43 #43CAA2
split-complementary
#5E43CA #CAA243 #6BCA43
monochromatic
#312072 #452EA2 #5E43CA #8773D7 #B0A2E5

Accessibility & contrast

On white

6.71
#5E43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43CA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43CA#FFFFFF#000000##FFFFFF
##5E43CA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#316581
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e43ca;
/* rgb */ color: rgb(94, 67, 202);
/* oklch */ color: oklch(49.4% 0.198 285.8);
Tailwind
colors: {
  custom: {
    50: '#9579db',
    500: '#5e43ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e43ca;
$custom-light: #9579db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43ca",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.19816,
    "h": 285.8
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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