#5438C3#5438C3

#5438C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.203 H 284.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5438C3
RGBrgb(84, 56, 195)
HSLhsl(252, 55%, 49%)
HSVhsv(252, 71%, 76%)
CMYKcmyk(56.9%, 71.3%, 0%, 23.5%)
CIE-LABlab(35.31, 48.56, -68.37)
CIE-LCHlch(35.31, 83.86, 305.38°)
OKLaboklab(46.35% 0.0506 -0.1968)
OKLCHoklch(46.35% 0.203 284.4)
XYZxyz(14.9177, 8.6524, 52.5032)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438C3 #A7C338
analogous
#3862C3 #5438C3 #9938C3
triadic
#5438C3 #C35438 #38C354
tetradic
#5438C3 #C33862 #A7C338 #38C399
square
#5438C3 #C33862 #A7C338 #38C399
split-complementary
#5438C3 #C39938 #62C338
monochromatic
#2B1D64 #402A93 #5438C3 #7B65D3 #A495E1

Accessibility & contrast

On white

7.69
#5438C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5438C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438C3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438C3#FFFFFF#000000##FFFFFF
##5438C31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#1B5D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5438c3;
/* rgb */ color: rgb(84, 56, 195);
/* oklch */ color: oklch(46.4% 0.203 284.4);
Tailwind
colors: {
  custom: {
    50: '#9071d6',
    500: '#5438c3',
    950: '#000000',
  },
}
SCSS
$custom: #5438c3;
$custom-light: #9071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5438c3",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 252.086,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46352,
    "c": 0.20324,
    "h": 284.4
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#5438C3
secondary
#BFCC8B
accent
#DF49C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5438C3

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

Preview Lab → · Contrast checker → · Palette generator →

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