#5432C4#5432C4

#5432C4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.211 H 285.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5432C4
RGBrgb(84, 50, 196)
HSLhsl(254, 59%, 48%)
HSVhsv(254, 74%, 77%)
CMYKcmyk(57.1%, 74.5%, 0%, 23.1%)
CIE-LABlab(34.29, 51.95, -70.62)
CIE-LCHlch(34.29, 87.67, 306.34°)
OKLaboklab(45.66% 0.055 -0.2034)
OKLCHoklch(45.66% 0.211 285.1)
XYZxyz(14.7575, 8.1507, 53.0095)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432C4 #A2C432
analogous
#3259C4 #5432C4 #9D32C4
triadic
#5432C4 #C45432 #32C454
tetradic
#5432C4 #C43259 #A2C432 #32C49D
square
#5432C4 #C43259 #A2C432 #32C49D
split-complementary
#5432C4 #C49D32 #59C432
monochromatic
#2A1962 #3F2693 #5432C4 #795DD6 #A28EE2

Accessibility & contrast

On white

7.98
#5432C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5432C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432C4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432C4#FFFFFF#000000##FFFFFF
##5432C41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#1A5B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5432c4;
/* rgb */ color: rgb(84, 50, 196);
/* oklch */ color: oklch(45.7% 0.211 285.1);
Tailwind
colors: {
  custom: {
    50: '#906ed7',
    500: '#5432c4',
    950: '#000000',
  },
}
SCSS
$custom: #5432c4;
$custom-light: #906ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#5432c4",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 253.973,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.21068,
    "h": 285.1
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#5432C4
secondary
#BCCD85
accent
#E345BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5432C4

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

Preview Lab → · Contrast checker → · Palette generator →

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