#5435BC#5435BC

#5435BC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.198 H 286.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5435BC
RGBrgb(84, 53, 188)
HSLhsl(254, 56%, 47%)
HSVhsv(254, 72%, 74%)
CMYKcmyk(55.3%, 71.8%, 0%, 26.3%)
CIE-LABlab(34.11, 48.09, -66.22)
CIE-LCHlch(34.11, 81.84, 305.99°)
OKLaboklab(45.31% 0.0545 -0.1905)
OKLCHoklch(45.31% 0.198 286)
XYZxyz(14.0036, 8.0611, 48.3853)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435BC #9DBC35
analogous
#3559BC #5435BC #9835BC
triadic
#5435BC #BC5435 #35BC54
tetradic
#5435BC #BC3559 #9DBC35 #35BC98
square
#5435BC #BC3559 #9DBC35 #35BC98
split-complementary
#5435BC #BC9835 #59BC35
monochromatic
#291A5D #3F288C #5435BC #785DD1 #9F8DDF

Accessibility & contrast

On white

8.04
#5435BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5435BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435BC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435BC#FFFFFF#000000##FFFFFF
##5435BC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#255975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5435bc;
/* rgb */ color: rgb(84, 53, 188);
/* oklch */ color: oklch(45.3% 0.198 286.0);
Tailwind
colors: {
  custom: {
    50: '#8f6fd1',
    500: '#5435bc',
    950: '#000000',
  },
}
SCSS
$custom: #5435bc;
$custom-light: #8f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5435bc",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 253.778,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.19816,
    "h": 286
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#5435BC
secondary
#B9C984
accent
#DF48BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5435BC

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

Preview Lab → · Contrast checker → · Palette generator →

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