#5C43BB#5C43BB

#5C43BB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.180 H 287.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C43BB
RGBrgb(92, 67, 187)
HSLhsl(253, 47%, 50%)
HSVhsv(253, 64%, 73%)
CMYKcmyk(50.8%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.62, 41.39, -59.87)
CIE-LCHlch(37.62, 72.78, 304.66°)
OKLaboklab(47.99% 0.053 -0.1716)
OKLCHoklch(47.99% 0.18 287.2)
XYZxyz(15.3878, 9.8767, 48.0997)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C43BB #A2BB43
analogous
#4366BB #5C43BB #9843BB
triadic
#5C43BB #BB5C43 #43BB5C
tetradic
#5C43BB #BB4366 #A2BB43 #43BB98
square
#5C43BB #BB4366 #A2BB43 #43BB98
split-complementary
#5C43BB #BB9843 #66BB43
monochromatic
#302361 #46338E #5C43BB #8370CC #AA9DDC

Accessibility & contrast

On white

7.06
#5C43BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C43BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C43BB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C43BB#FFFFFF#000000##FFFFFF
##5C43BB1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#396079
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c43bb;
/* rgb */ color: rgb(92, 67, 187);
/* oklch */ color: oklch(48.0% 0.180 287.2);
Tailwind
colors: {
  custom: {
    50: '#9278d0',
    500: '#5c43bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c43bb;
$custom-light: #9278d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c43bb",
  "rgb": {
    "r": 92,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 252.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.17963,
    "h": 287.2
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#5C43BB
secondary
#BDC892
accent
#D751BB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5C43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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