#5434C2#5434C2

#5434C2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.206 H 285.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5434C2
RGBrgb(84, 52, 194)
HSLhsl(254, 58%, 48%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(56.7%, 73.2%, 0%, 23.9%)
CIE-LABlab(34.47, 50.36, -69.16)
CIE-LCHlch(34.47, 85.56, 306.06°)
OKLaboklab(45.73% 0.054 -0.1991)
OKLCHoklch(45.73% 0.206 285.2)
XYZxyz(14.6188, 8.2350, 51.8477)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434C2 #A2C234
analogous
#345BC2 #5434C2 #9B34C2
triadic
#5434C2 #C25434 #34C254
tetradic
#5434C2 #C2345B #A2C234 #34C29B
square
#5434C2 #C2345B #A2C234 #34C29B
split-complementary
#5434C2 #C29B34 #5BC234
monochromatic
#2A1A61 #3F2792 #5434C2 #795FD4 #A28FE1

Accessibility & contrast

On white

7.93
#5434C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5434C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434C2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434C2#FFFFFF#000000##FFFFFF
##5434C21.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)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#1D5B78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5434c2;
/* rgb */ color: rgb(84, 52, 194);
/* oklch */ color: oklch(45.7% 0.206 285.2);
Tailwind
colors: {
  custom: {
    50: '#906fd6',
    500: '#5434c2',
    950: '#000000',
  },
}
SCSS
$custom: #5434c2;
$custom-light: #906fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5434c2",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 253.521,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.20631,
    "h": 285.2
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#5434C2
secondary
#BCCC86
accent
#E147BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5434C2

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

Preview Lab → · Contrast checker → · Palette generator →

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