#5432C5#5432C5

#5432C5 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.212 H 285.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5432C5
RGBrgb(84, 50, 197)
HSLhsl(254, 60%, 48%)
HSVhsv(254, 75%, 77%)
CMYKcmyk(57.4%, 74.6%, 0%, 22.7%)
CIE-LABlab(34.39, 52.24, -71.05)
CIE-LCHlch(34.39, 88.19, 306.32°)
OKLaboklab(45.76% 0.0547 -0.2046)
OKLCHoklch(45.76% 0.212 285)
XYZxyz(14.8717, 8.1963, 53.6109)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432C5 #A3C532
analogous
#3259C5 #5432C5 #9D32C5
triadic
#5432C5 #C55432 #32C554
tetradic
#5432C5 #C53259 #A3C532 #32C59D
square
#5432C5 #C53259 #A3C532 #32C59D
split-complementary
#5432C5 #C59D32 #59C532
monochromatic
#2A1963 #3F2694 #5432C5 #7A5ED6 #A28FE3

Accessibility & contrast

On white

7.96
#5432C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5432C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432C5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432C5#FFFFFF#000000##FFFFFF
##5432C51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#185B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5432c5;
/* rgb */ color: rgb(84, 50, 197);
/* oklch */ color: oklch(45.8% 0.212 285.0);
Tailwind
colors: {
  custom: {
    50: '#916ed8',
    500: '#5432c5',
    950: '#000000',
  },
}
SCSS
$custom: #5432c5;
$custom-light: #916ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#5432c5",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 253.878,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.21183,
    "h": 285
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#5432C5
secondary
#BDCD86
accent
#E345BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5432C5

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

Preview Lab → · Contrast checker → · Palette generator →

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