#5434BC#5434BC

#5434BC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.199 H 286.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5434BC
RGBrgb(84, 52, 188)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 72%, 74%)
CMYKcmyk(55.3%, 72.3%, 0%, 26.3%)
CIE-LABlab(33.92, 48.62, -66.53)
CIE-LCHlch(33.92, 82.40, 306.16°)
OKLaboklab(45.18% 0.0553 -0.1914)
OKLCHoklch(45.18% 0.199 286.1)
XYZxyz(13.9585, 7.9709, 48.3702)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434BC #9CBC34
analogous
#3458BC #5434BC #9834BC
triadic
#5434BC #BC5434 #34BC54
tetradic
#5434BC #BC3458 #9CBC34 #34BC98
square
#5434BC #BC3458 #9CBC34 #34BC98
split-complementary
#5434BC #BC9834 #58BC34
monochromatic
#29195C #3F278C #5434BC #775BD2 #9F8BDF

Accessibility & contrast

On white

8.09
#5434BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5434BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434BC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434BC#FFFFFF#000000##FFFFFF
##5434BC1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5434bc;
/* rgb */ color: rgb(84, 52, 188);
/* oklch */ color: oklch(45.2% 0.199 286.1);
Tailwind
colors: {
  custom: {
    50: '#8f6fd1',
    500: '#5434bc',
    950: '#000000',
  },
}
SCSS
$custom: #5434bc;
$custom-light: #8f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5434bc",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 254.118,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.19925,
    "h": 286.1
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#5434BC
secondary
#B9C983
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5434BC

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

Preview Lab → · Contrast checker → · Palette generator →

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