#5434CA#5434CA

#5434CA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.216 H 284.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5434CA
RGBrgb(84, 52, 202)
HSLhsl(253, 59%, 50%)
HSVhsv(253, 74%, 79%)
CMYKcmyk(58.4%, 74.3%, 0%, 20.8%)
CIE-LABlab(35.21, 52.68, -72.62)
CIE-LCHlch(35.21, 89.71, 305.96°)
OKLaboklab(46.48% 0.0521 -0.2092)
OKLCHoklch(46.48% 0.216 284)
XYZxyz(15.5415, 8.6041, 56.7075)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434CA #AACA34
analogous
#345FCA #5434CA #9F34CA
triadic
#5434CA #CA5434 #34CA54
tetradic
#5434CA #CA345F #AACA34 #34CA9F
square
#5434CA #CA345F #AACA34 #34CA9F
split-complementary
#5434CA #CA9F34 #5FCA34
monochromatic
#2C1B69 #402799 #5434CA #7D64D7 #A695E4

Accessibility & contrast

On white

7.72
#5434CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5434CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434CA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434CA#FFFFFF#000000##FFFFFF
##5434CA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#0A5E7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5434ca;
/* rgb */ color: rgb(84, 52, 202);
/* oklch */ color: oklch(46.5% 0.216 284.0);
Tailwind
colors: {
  custom: {
    50: '#916fdb',
    500: '#5434ca',
    950: '#000000',
  },
}
SCSS
$custom: #5434ca;
$custom-light: #916fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5434ca",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 252.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.21562,
    "h": 284
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#5434CA
secondary
#C0CF8B
accent
#E246C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5434CA

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

Preview Lab → · Contrast checker → · Palette generator →

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