#5438C5#5438C5

#5438C5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.206 H 284.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5438C5
RGBrgb(84, 56, 197)
HSLhsl(252, 56%, 50%)
HSVhsv(252, 72%, 77%)
CMYKcmyk(57.4%, 71.6%, 0%, 22.7%)
CIE-LABlab(35.49, 49.15, -69.25)
CIE-LCHlch(35.49, 84.92, 305.37°)
OKLaboklab(46.53% 0.0502 -0.1994)
OKLCHoklch(46.53% 0.206 284.1)
XYZxyz(15.1453, 8.7434, 53.7021)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438C5 #A9C538
analogous
#3863C5 #5438C5 #9B38C5
triadic
#5438C5 #C55438 #38C554
tetradic
#5438C5 #C53863 #A9C538 #38C59B
square
#5438C5 #C53863 #A9C538 #38C59B
split-complementary
#5438C5 #C59B38 #63C538
monochromatic
#2B1D66 #402A95 #5438C5 #7C67D4 #A596E1

Accessibility & contrast

On white

7.64
#5438C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5438C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438C5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438C5#FFFFFF#000000##FFFFFF
##5438C51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#175E7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5438c5;
/* rgb */ color: rgb(84, 56, 197);
/* oklch */ color: oklch(46.5% 0.206 284.1);
Tailwind
colors: {
  custom: {
    50: '#9071d8',
    500: '#5438c5',
    950: '#000000',
  },
}
SCSS
$custom: #5438c5;
$custom-light: #9071d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5438c5",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 251.915,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.20563,
    "h": 284.1
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#5438C5
secondary
#C0CD8C
accent
#DF49C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5438C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5438C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva