#5A43BF#5A43BF

#5A43BF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.185 H 285.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5A43BF
RGBrgb(90, 67, 191)
HSLhsl(251, 49%, 51%)
HSVhsv(251, 65%, 75%)
CMYKcmyk(52.9%, 64.9%, 0%, 25.1%)
CIE-LABlab(37.75, 42.22, -62.01)
CIE-LCHlch(37.75, 75.02, 304.25°)
OKLaboklab(48.14% 0.0498 -0.178)
OKLCHoklch(48.14% 0.185 285.6)
XYZxyz(15.6248, 9.9487, 50.3771)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43BF #A8BF43
analogous
#436ABF #5A43BF #9843BF
triadic
#5A43BF #BF5A43 #43BF5A
tetradic
#5A43BF #BF436A #A8BF43 #43BF98
square
#5A43BF #BF436A #A8BF43 #43BF98
split-complementary
#5A43BF #BF9843 #6ABF43
monochromatic
#2F2265 #443293 #5A43BF #8271CF #AA9EDE

Accessibility & contrast

On white

7.02
#5A43BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5A43BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A43BF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43BF#FFFFFF#000000##FFFFFF
##5A43BF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#31627B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a43bf;
/* rgb */ color: rgb(90, 67, 191);
/* oklch */ color: oklch(48.1% 0.185 285.6);
Tailwind
colors: {
  custom: {
    50: '#9278d3',
    500: '#5a43bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a43bf;
$custom-light: #9278d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43bf",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 251.129,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.18485,
    "h": 285.6
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A43BF

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

Preview Lab → · Contrast checker → · Palette generator →

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