#5438BC#5438BC

#5438BC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.195 H 285.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5438BC
RGBrgb(84, 56, 188)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 70%, 74%)
CMYKcmyk(55.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(34.69, 46.48, -65.28)
CIE-LCHlch(34.69, 80.14, 305.45°)
OKLaboklab(45.72% 0.052 -0.1878)
OKLCHoklch(45.72% 0.195 285.5)
XYZxyz(14.1447, 8.3432, 48.4323)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438BC #A0BC38
analogous
#385EBC #5438BC #9638BC
triadic
#5438BC #BC5438 #38BC54
tetradic
#5438BC #BC385E #A0BC38 #38BC96
square
#5438BC #BC385E #A0BC38 #38BC96
split-complementary
#5438BC #BC9638 #5EBC38
monochromatic
#2A1C5E #3F2A8D #5438BC #7961D0 #A190DE

Accessibility & contrast

On white

7.87
#5438BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5438BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438BC#FFFFFF#000000##FFFFFF
##5438BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#255B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5438bc;
/* rgb */ color: rgb(84, 56, 188);
/* oklch */ color: oklch(45.7% 0.195 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f71d1',
    500: '#5438bc',
    950: '#000000',
  },
}
SCSS
$custom: #5438bc;
$custom-light: #8f71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5438bc",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 252.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.19482,
    "h": 285.5
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#5438BC
secondary
#BBC987
accent
#DD4ABE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5438BC

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

Preview Lab → · Contrast checker → · Palette generator →

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