#5434CF#5434CF

#5434CF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.221 H 283.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5434CF
RGBrgb(84, 52, 207)
HSLhsl(252, 62%, 51%)
HSVhsv(252, 75%, 81%)
CMYKcmyk(59.4%, 74.9%, 0%, 18.8%)
CIE-LABlab(35.68, 54.12, -74.75)
CIE-LCHlch(35.68, 92.28, 305.91°)
OKLaboklab(46.96% 0.0509 -0.2154)
OKLCHoklch(46.96% 0.221 283.3)
XYZxyz(16.1432, 8.8447, 59.8759)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434CF #AFCF34
analogous
#3461CF #5434CF #A134CF
triadic
#5434CF #CF5434 #34CF54
tetradic
#5434CF #CF3461 #AFCF34 #34CFA1
square
#5434CF #CF3461 #AFCF34 #34CFA1
split-complementary
#5434CF #CFA134 #61CF34
monochromatic
#2C1A6E #3F26A0 #5434CF #7E65DB #A797E6

Accessibility & contrast

On white

7.58
#5434CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5434CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434CF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434CF#FFFFFF#000000##FFFFFF
##5434CF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5434cf;
/* rgb */ color: rgb(84, 52, 207);
/* oklch */ color: oklch(47.0% 0.221 283.3);
Tailwind
colors: {
  custom: {
    50: '#926fdf',
    500: '#5434cf',
    950: '#000000',
  },
}
SCSS
$custom: #5434cf;
$custom-light: #926fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5434cf",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 252.387,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.22137,
    "h": 283.3
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#5434CF
secondary
#C4D28D
accent
#E543C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5434CF

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

Preview Lab → · Contrast checker → · Palette generator →

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