#5438C7#5438C7

#5438C7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.208 H 283.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5438C7
RGBrgb(84, 56, 199)
HSLhsl(252, 56%, 50%)
HSVhsv(252, 72%, 78%)
CMYKcmyk(57.8%, 71.9%, 0%, 22%)
CIE-LABlab(35.67, 49.74, -70.12)
CIE-LCHlch(35.67, 85.97, 305.35°)
OKLaboklab(46.72% 0.0498 -0.2019)
OKLCHoklch(46.72% 0.208 283.9)
XYZxyz(15.3760, 8.8357, 54.9170)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438C7 #ABC738
analogous
#3864C7 #5438C7 #9B38C7
triadic
#5438C7 #C75438 #38C754
tetradic
#5438C7 #C73864 #ABC738 #38C79B
square
#5438C7 #C73864 #ABC738 #38C79B
split-complementary
#5438C7 #C79B38 #64C738
monochromatic
#2C1D67 #402B97 #5438C7 #7D68D4 #A698E2

Accessibility & contrast

On white

7.59
#5438C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5438C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438C7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438C7#FFFFFF#000000##FFFFFF
##5438C71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#125F7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5438c7;
/* rgb */ color: rgb(84, 56, 199);
/* oklch */ color: oklch(46.7% 0.208 283.9);
Tailwind
colors: {
  custom: {
    50: '#9071d9',
    500: '#5438c7',
    950: '#000000',
  },
}
SCSS
$custom: #5438c7;
$custom-light: #9071d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5438c7",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 251.748,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.46717,
    "c": 0.208,
    "h": 283.9
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#5438C7
secondary
#C1CD8D
accent
#DF48C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5438C7

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

Preview Lab → · Contrast checker → · Palette generator →

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