#5435BA#5435BA

#5435BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.196 H 286.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5435BA
RGBrgb(84, 53, 186)
HSLhsl(254, 56%, 47%)
HSVhsv(254, 72%, 73%)
CMYKcmyk(54.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(33.93, 47.51, -65.34)
CIE-LCHlch(33.93, 80.78, 306.02°)
OKLaboklab(45.13% 0.0549 -0.1879)
OKLCHoklch(45.13% 0.196 286.3)
XYZxyz(13.7895, 7.9754, 47.2577)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435BA #9BBA35
analogous
#3559BA #5435BA #9735BA
triadic
#5435BA #BA5435 #35BA54
tetradic
#5435BA #BA3559 #9BBA35 #35BA97
square
#5435BA #BA3559 #9BBA35 #35BA97
split-complementary
#5435BA #BA9735 #59BA35
monochromatic
#291A5B #3E278A #5435BA #775CD0 #9F8BDE

Accessibility & contrast

On white

8.09
#5435BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5435BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435BA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435BA#FFFFFF#000000##FFFFFF
##5435BA1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5435ba;
/* rgb */ color: rgb(84, 53, 186);
/* oklch */ color: oklch(45.1% 0.196 286.3);
Tailwind
colors: {
  custom: {
    50: '#8f6fd0',
    500: '#5435ba',
    950: '#000000',
  },
}
SCSS
$custom: #5435ba;
$custom-light: #8f6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5435ba",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 253.985,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.19578,
    "h": 286.3
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#5435BA
secondary
#B8C882
accent
#DF49BC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5435BA

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

Preview Lab → · Contrast checker → · Palette generator →

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