#5435C2#5435C2

#5435C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.205 H 285.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5435C2
RGBrgb(84, 53, 194)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 73%, 76%)
CMYKcmyk(56.7%, 72.7%, 0%, 23.9%)
CIE-LABlab(34.65, 49.84, -68.86)
CIE-LCHlch(34.65, 85.01, 305.90°)
OKLaboklab(45.86% 0.0532 -0.1982)
OKLCHoklch(45.86% 0.205 285)
XYZxyz(14.6639, 8.3252, 51.8627)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435C2 #A3C235
analogous
#355DC2 #5435C2 #9A35C2
triadic
#5435C2 #C25435 #35C254
tetradic
#5435C2 #C2355D #A3C235 #35C29A
square
#5435C2 #C2355D #A3C235 #35C29A
split-complementary
#5435C2 #C29A35 #5DC235
monochromatic
#2A1B62 #3F2892 #5435C2 #7A60D4 #A291E1

Accessibility & contrast

On white

7.88
#5435C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5435C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435C2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435C2#FFFFFF#000000##FFFFFF
##5435C21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.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: #5435c2;
/* rgb */ color: rgb(84, 53, 194);
/* oklch */ color: oklch(45.9% 0.205 285.0);
Tailwind
colors: {
  custom: {
    50: '#906fd6',
    500: '#5435c2',
    950: '#000000',
  },
}
SCSS
$custom: #5435c2;
$custom-light: #906fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5435c2",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 253.191,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.20526,
    "h": 285
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#5435C2
secondary
#BDCC87
accent
#E047BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5435C2

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

Preview Lab → · Contrast checker → · Palette generator →

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