#5435CA#5435CA

#5435CA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.215 H 283.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5435CA
RGBrgb(84, 53, 202)
HSLhsl(252, 58%, 50%)
HSVhsv(252, 74%, 79%)
CMYKcmyk(58.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(35.39, 52.18, -72.33)
CIE-LCHlch(35.39, 89.18, 305.81°)
OKLaboklab(46.61% 0.0514 -0.2084)
OKLCHoklch(46.61% 0.215 283.9)
XYZxyz(15.5867, 8.6943, 56.7225)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435CA #ABCA35
analogous
#3561CA #5435CA #9E35CA
triadic
#5435CA #CA5435 #35CA54
tetradic
#5435CA #CA3561 #ABCA35 #35CA9E
square
#5435CA #CA3561 #ABCA35 #35CA9E
split-complementary
#5435CA #CA9E35 #61CA35
monochromatic
#2C1C69 #40289A #5435CA #7D65D7 #A696E3

Accessibility & contrast

On white

7.67
#5435CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5435CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435CA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435CA#FFFFFF#000000##FFFFFF
##5435CA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#0A5F7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5435ca;
/* rgb */ color: rgb(84, 53, 202);
/* oklch */ color: oklch(46.6% 0.215 283.9);
Tailwind
colors: {
  custom: {
    50: '#9170db',
    500: '#5435ca',
    950: '#000000',
  },
}
SCSS
$custom: #5435ca;
$custom-light: #9170db;
$custom-dark: #000000;
JSON
{
  "hex": "#5435ca",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 252.483,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46605,
    "c": 0.21462,
    "h": 283.9
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#5435CA
secondary
#C1CF8C
accent
#E246C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5435CA

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

Preview Lab → · Contrast checker → · Palette generator →

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