#5436BA#5436BA

#5436BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.195 H 286.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5436BA
RGBrgb(84, 54, 186)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54.8%, 71%, 0%, 27.1%)
CIE-LABlab(34.12, 46.97, -65.02)
CIE-LCHlch(34.12, 80.21, 305.84°)
OKLaboklab(45.27% 0.0541 -0.187)
OKLCHoklch(45.27% 0.195 286.1)
XYZxyz(13.8356, 8.0676, 47.2730)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436BA #9CBA36
analogous
#365ABA #5436BA #9636BA
triadic
#5436BA #BA5436 #36BA54
tetradic
#5436BA #BA365A #9CBA36 #36BA96
square
#5436BA #BA365A #9CBA36 #36BA96
split-complementary
#5436BA #BA9636 #5ABA36
monochromatic
#291A5B #3F288B #5436BA #775DD0 #9F8DDE

Accessibility & contrast

On white

8.03
#5436BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5436BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436BA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436BA#FFFFFF#000000##FFFFFF
##5436BA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#275974
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5436ba;
/* rgb */ color: rgb(84, 54, 186);
/* oklch */ color: oklch(45.3% 0.195 286.1);
Tailwind
colors: {
  custom: {
    50: '#8e70d0',
    500: '#5436ba',
    950: '#000000',
  },
}
SCSS
$custom: #5436ba;
$custom-light: #8e70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5436ba",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 253.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.19467,
    "h": 286.1
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#5436BA
secondary
#B9C884
accent
#DE49BD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5436BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5436BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva