#5435CF#5435CF

#5435CF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.220 H 283.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5435CF
RGBrgb(84, 53, 207)
HSLhsl(252, 62%, 51%)
HSVhsv(252, 74%, 81%)
CMYKcmyk(59.4%, 74.4%, 0%, 18.8%)
CIE-LABlab(35.86, 53.63, -74.46)
CIE-LCHlch(35.86, 91.76, 305.76°)
OKLaboklab(47.08% 0.0502 -0.2146)
OKLCHoklch(47.08% 0.22 283.2)
XYZxyz(16.1883, 8.9349, 59.8910)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435CF #B0CF35
analogous
#3563CF #5435CF #A135CF
triadic
#5435CF #CF5435 #35CF54
tetradic
#5435CF #CF3563 #B0CF35 #35CFA1
square
#5435CF #CF3563 #B0CF35 #35CFA1
split-complementary
#5435CF #CFA135 #63CF35
monochromatic
#2B1A6F #3F26A1 #5435CF #7E66DB #A898E7

Accessibility & contrast

On white

7.53
#5435CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5435CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435CF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435CF#FFFFFF#000000##FFFFFF
##5435CF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5435cf;
/* rgb */ color: rgb(84, 53, 207);
/* oklch */ color: oklch(47.1% 0.220 283.2);
Tailwind
colors: {
  custom: {
    50: '#9270df',
    500: '#5435cf',
    950: '#000000',
  },
}
SCSS
$custom: #5435cf;
$custom-light: #9270df;
$custom-dark: #000000;
JSON
{
  "hex": "#5435cf",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 252.078,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.22041,
    "h": 283.2
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#5435CF
secondary
#C4D28E
accent
#E543C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5435CF

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

Preview Lab → · Contrast checker → · Palette generator →

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