#5A43BE#5A43BE

#5A43BE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.184 H 285.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5A43BE
RGBrgb(90, 67, 190)
HSLhsl(251, 49%, 50%)
HSVhsv(251, 65%, 75%)
CMYKcmyk(52.6%, 64.7%, 0%, 25.5%)
CIE-LABlab(37.67, 41.92, -61.56)
CIE-LCHlch(37.67, 74.47, 304.25°)
OKLaboklab(48.05% 0.05 -0.1767)
OKLCHoklch(48.05% 0.184 285.8)
XYZxyz(15.5151, 9.9049, 49.7995)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43BE #A7BE43
analogous
#4369BE #5A43BE #9843BE
triadic
#5A43BE #BE5A43 #43BE5A
tetradic
#5A43BE #BE4369 #A7BE43 #43BE98
square
#5A43BE #BE4369 #A7BE43 #43BE98
split-complementary
#5A43BE #BE9843 #69BE43
monochromatic
#2F2364 #443291 #5A43BE #8270CE #AA9EDD

Accessibility & contrast

On white

7.04
#5A43BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A43BE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43BE#FFFFFF#000000##FFFFFF
##5A43BE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#32617A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a43be;
/* rgb */ color: rgb(90, 67, 190);
/* oklch */ color: oklch(48.1% 0.184 285.8);
Tailwind
colors: {
  custom: {
    50: '#9178d2',
    500: '#5a43be',
    950: '#000000',
  },
}
SCSS
$custom: #5a43be;
$custom-light: #9178d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43be",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 251.22,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.18359,
    "h": 285.8
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#5A43BE
secondary
#C0CA93
accent
#D850BF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5A43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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