#5435EA#5435EA

#5435EA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.251 H 279.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5435EA
RGBrgb(84, 53, 234)
HSLhsl(250, 81%, 56%)
HSVhsv(250, 77%, 92%)
CMYKcmyk(64.1%, 77.4%, 0%, 8.2%)
CIE-LABlab(38.50, 61.37, -85.59)
CIE-LCHlch(38.50, 105.32, 305.64°)
OKLaboklab(49.72% 0.0433 -0.2471)
OKLCHoklch(49.72% 0.251 279.9)
XYZxyz(19.7758, 10.3700, 78.7854)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435EA #CBEA35
analogous
#3571EA #5435EA #AF35EA
triadic
#5435EA #EA5435 #35EA54
tetradic
#5435EA #EA3571 #CBEA35 #35EAAF
square
#5435EA #EA3571 #CBEA35 #35EAAF
split-complementary
#5435EA #EAAF35 #71EA35
monochromatic
#261095 #3515CD #5435EA #836CF0 #B2A4F6

Accessibility & contrast

On white

6.83
#5435EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5435EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5435EA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435EA#FFFFFF#000000##FFFFFF
##5435EA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0054E7
Tritanopia (blue-blind)
#006B8F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5435ea;
/* rgb */ color: rgb(84, 53, 234);
/* oklch */ color: oklch(49.7% 0.251 279.9);
Tailwind
colors: {
  custom: {
    50: '#9771f2',
    500: '#5435ea',
    950: '#000000',
  },
}
SCSS
$custom: #5435ea;
$custom-light: #9771f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5435ea",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 250.276,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49716,
    "c": 0.25085,
    "h": 279.9
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#5435EA
secondary
#D6E398
accent
#F830D5
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5435EA

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

Preview Lab → · Contrast checker → · Palette generator →

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