#5438BD#5438BD

#5438BD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.196 H 285.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5438BD
RGBrgb(84, 56, 189)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 70%, 74%)
CMYKcmyk(55.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(34.78, 46.78, -65.72)
CIE-LCHlch(34.78, 80.67, 305.44°)
OKLaboklab(45.81% 0.0518 -0.1891)
OKLCHoklch(45.81% 0.196 285.3)
XYZxyz(14.2529, 8.3865, 49.0020)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438BD #A1BD38
analogous
#385EBD #5438BD #9738BD
triadic
#5438BD #BD5438 #38BD54
tetradic
#5438BD #BD385E #A1BD38 #38BD97
square
#5438BD #BD385E #A1BD38 #38BD97
split-complementary
#5438BD #BD9738 #5EBD38
monochromatic
#2A1C5F #3F2A8E #5438BD #7962D0 #A191DE

Accessibility & contrast

On white

7.84
#5438BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5438BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438BD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438BD#FFFFFF#000000##FFFFFF
##5438BD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#245B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5438bd;
/* rgb */ color: rgb(84, 56, 189);
/* oklch */ color: oklch(45.8% 0.196 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f71d2',
    500: '#5438bd',
    950: '#000000',
  },
}
SCSS
$custom: #5438bd;
$custom-light: #8f71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5438bd",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 252.632,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.19604,
    "h": 285.3
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#5438BD
secondary
#BBC987
accent
#DE4ABF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5438BD

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

Preview Lab → · Contrast checker → · Palette generator →

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