#5432C0#5432C0

#5432C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.206 H 285.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5432C0
RGBrgb(84, 50, 192)
HSLhsl(254, 59%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56.3%, 74%, 0%, 24.7%)
CIE-LABlab(33.92, 50.80, -68.89)
CIE-LCHlch(33.92, 85.59, 306.41°)
OKLaboklab(45.29% 0.056 -0.1983)
OKLCHoklch(45.29% 0.206 285.8)
XYZxyz(14.3083, 7.9710, 50.6435)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432C0 #9EC032
analogous
#3257C0 #5432C0 #9B32C0
triadic
#5432C0 #C05432 #32C054
tetradic
#5432C0 #C03257 #9EC032 #32C09B
square
#5432C0 #C03257 #9EC032 #32C09B
split-complementary
#5432C0 #C09B32 #57C032
monochromatic
#2A195F #3F258F #5432C0 #785BD4 #A08BE1

Accessibility & contrast

On white

8.09
#5432C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5432C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432C0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432C0#FFFFFF#000000##FFFFFF
##5432C01.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#205976
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5432c0;
/* rgb */ color: rgb(84, 50, 192);
/* oklch */ color: oklch(45.3% 0.206 285.8);
Tailwind
colors: {
  custom: {
    50: '#906ed4',
    500: '#5432c0',
    950: '#000000',
  },
}
SCSS
$custom: #5432c0;
$custom-light: #906ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5432c0",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 254.366,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.20604,
    "h": 285.8
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5432C0

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

Preview Lab → · Contrast checker → · Palette generator →

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