#5A43BC#5A43BC

#5A43BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.181 H 286.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5A43BC
RGBrgb(90, 67, 188)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 74%)
CMYKcmyk(52.1%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.51, 41.32, -60.64)
CIE-LCHlch(37.51, 73.38, 304.27°)
OKLaboklab(47.89% 0.0502 -0.174)
OKLCHoklch(47.89% 0.181 286.1)
XYZxyz(15.2980, 9.8180, 48.6562)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43BC #A5BC43
analogous
#4368BC #5A43BC #9743BC
triadic
#5A43BC #BC5A43 #43BC5A
tetradic
#5A43BC #BC4368 #A5BC43 #43BC97
square
#5A43BC #BC4368 #A5BC43 #43BC97
split-complementary
#5A43BC #BC9743 #68BC43
monochromatic
#2F2362 #44338F #5A43BC #8270CC #A99DDC

Accessibility & contrast

On white

7.09
#5A43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5A43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A43BC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43BC#FFFFFF#000000##FFFFFF
##5A43BC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#346179
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a43bc;
/* rgb */ color: rgb(90, 67, 188);
/* oklch */ color: oklch(47.9% 0.181 286.1);
Tailwind
colors: {
  custom: {
    50: '#9178d1',
    500: '#5a43bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a43bc;
$custom-light: #9178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43bc",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 251.405,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.18104,
    "h": 286.1
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#5A43BC
secondary
#BEC992
accent
#D751BE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5A43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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