#5432C2#5432C2

#5432C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.208 H 285.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5432C2
RGBrgb(84, 50, 194)
HSLhsl(254, 59%, 48%)
HSVhsv(254, 74%, 76%)
CMYKcmyk(56.7%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.11, 51.38, -69.76)
CIE-LCHlch(34.11, 86.63, 306.37°)
OKLaboklab(45.48% 0.0555 -0.2008)
OKLCHoklch(45.48% 0.208 285.4)
XYZxyz(14.5314, 8.0602, 51.8185)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432C2 #A0C232
analogous
#3258C2 #5432C2 #9C32C2
triadic
#5432C2 #C25432 #32C254
tetradic
#5432C2 #C23258 #A0C232 #32C29C
square
#5432C2 #C23258 #A0C232 #32C29C
split-complementary
#5432C2 #C29C32 #58C232
monochromatic
#2A1961 #3F2591 #5432C2 #795CD5 #A18DE2

Accessibility & contrast

On white

8.04
#5432C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5432C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432C2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432C2#FFFFFF#000000##FFFFFF
##5432C21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#1D5A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5432c2;
/* rgb */ color: rgb(84, 50, 194);
/* oklch */ color: oklch(45.5% 0.208 285.4);
Tailwind
colors: {
  custom: {
    50: '#906ed6',
    500: '#5432c2',
    950: '#000000',
  },
}
SCSS
$custom: #5432c2;
$custom-light: #906ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5432c2",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 254.167,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.20836,
    "h": 285.4
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#5432C2
secondary
#BBCC84
accent
#E246BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5432C2

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

Preview Lab → · Contrast checker → · Palette generator →

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