#5B43C8#5B43C8

#5B43C8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.196 H 284.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5B43C8
RGBrgb(91, 67, 200)
HSLhsl(251, 55%, 52%)
HSVhsv(251, 67%, 78%)
CMYKcmyk(54.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.56, 45.10, -65.93)
CIE-LCHlch(38.56, 79.88, 304.37°)
OKLaboklab(48.97% 0.0501 -0.1895)
OKLCHoklch(48.97% 0.196 284.8)
XYZxyz(16.7437, 10.4076, 55.7590)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43C8 #B0C843
analogous
#436EC8 #5B43C8 #9E43C8
triadic
#5B43C8 #C85B43 #43C85B
tetradic
#5B43C8 #C8436E #B0C843 #43C89E
square
#5B43C8 #C8436E #B0C843 #43C89E
split-complementary
#5B43C8 #C89E43 #6EC843
monochromatic
#2F2170 #432F9F #5B43C8 #8472D6 #AEA2E4

Accessibility & contrast

On white

6.81
#5B43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5B43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43C8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43C8#FFFFFF#000000##FFFFFF
##5B43C81.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#2B6580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b43c8;
/* rgb */ color: rgb(91, 67, 200);
/* oklch */ color: oklch(49.0% 0.196 284.8);
Tailwind
colors: {
  custom: {
    50: '#9479da',
    500: '#5b43c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b43c8;
$custom-light: #9479da;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43c8",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 250.827,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.19599,
    "h": 284.8
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#5B43C8
secondary
#C6D096
accent
#DE4AC3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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