#5434C5#5434C5

#5434C5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.210 H 284.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5434C5
RGBrgb(84, 52, 197)
HSLhsl(253, 58%, 49%)
HSVhsv(253, 74%, 77%)
CMYKcmyk(57.4%, 73.6%, 0%, 22.7%)
CIE-LABlab(34.74, 51.23, -70.47)
CIE-LCHlch(34.74, 87.12, 306.02°)
OKLaboklab(46.01% 0.0533 -0.2029)
OKLCHoklch(46.01% 0.21 284.7)
XYZxyz(14.9591, 8.3711, 53.6400)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434C5 #A5C534
analogous
#345DC5 #5434C5 #9D34C5
triadic
#5434C5 #C55434 #34C554
tetradic
#5434C5 #C5345D #A5C534 #34C59D
square
#5434C5 #C5345D #A5C534 #34C59D
split-complementary
#5434C5 #C59D34 #5DC534
monochromatic
#2B1A64 #3F2795 #5434C5 #7B61D5 #A391E2

Accessibility & contrast

On white

7.85
#5434C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5434C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434C5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434C5#FFFFFF#000000##FFFFFF
##5434C51.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#185C7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5434c5;
/* rgb */ color: rgb(84, 52, 197);
/* oklch */ color: oklch(46.0% 0.210 284.7);
Tailwind
colors: {
  custom: {
    50: '#906fd8',
    500: '#5434c5',
    950: '#000000',
  },
}
SCSS
$custom: #5434c5;
$custom-light: #906fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5434c5",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 253.241,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.20982,
    "h": 284.7
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#5434C5
secondary
#BECD88
accent
#E146BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5434C5

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

Preview Lab → · Contrast checker → · Palette generator →

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