#5432C6#5432C6

#5432C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.213 H 284.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5432C6
RGBrgb(84, 50, 198)
HSLhsl(254, 60%, 49%)
HSVhsv(254, 75%, 78%)
CMYKcmyk(57.6%, 74.7%, 0%, 22.4%)
CIE-LABlab(34.48, 52.52, -71.48)
CIE-LCHlch(34.48, 88.70, 306.31°)
OKLaboklab(45.85% 0.0545 -0.2059)
OKLCHoklch(45.85% 0.213 284.8)
XYZxyz(14.9867, 8.2423, 54.2163)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432C6 #A4C632
analogous
#325AC6 #5432C6 #9E32C6
triadic
#5432C6 #C65432 #32C654
tetradic
#5432C6 #C6325A #A4C632 #32C69E
square
#5432C6 #C6325A #A4C632 #32C69E
split-complementary
#5432C6 #C69E32 #5AC632
monochromatic
#2B1964 #3F2695 #5432C6 #7A5FD7 #A390E3

Accessibility & contrast

On white

7.93
#5432C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5432C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432C6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432C6#FFFFFF#000000##FFFFFF
##5432C61.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#165C7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5432c6;
/* rgb */ color: rgb(84, 50, 198);
/* oklch */ color: oklch(45.9% 0.213 284.8);
Tailwind
colors: {
  custom: {
    50: '#916ed9',
    500: '#5432c6',
    950: '#000000',
  },
}
SCSS
$custom: #5432c6;
$custom-light: #916ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5432c6",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 253.784,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.21298,
    "h": 284.8
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5432C6

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

Preview Lab → · Contrast checker → · Palette generator →

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