#5438BB#5438BB

#5438BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.194 H 285.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5438BB
RGBrgb(84, 56, 187)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 70%, 73%)
CMYKcmyk(55.1%, 70.1%, 0%, 26.7%)
CIE-LABlab(34.60, 46.19, -64.83)
CIE-LCHlch(34.60, 79.60, 305.47°)
OKLaboklab(45.63% 0.0522 -0.1864)
OKLCHoklch(45.63% 0.194 285.6)
XYZxyz(14.0373, 8.3002, 47.8665)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438BB #9FBB38
analogous
#385EBB #5438BB #9538BB
triadic
#5438BB #BB5438 #38BB54
tetradic
#5438BB #BB385E #9FBB38 #38BB95
square
#5438BB #BB385E #9FBB38 #38BB95
split-complementary
#5438BB #BB9538 #5EBB38
monochromatic
#2A1C5D #3F2A8C #5438BB #7861D0 #A090DE

Accessibility & contrast

On white

7.89
#5438BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5438BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438BB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438BB#FFFFFF#000000##FFFFFF
##5438BB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#265A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5438bb;
/* rgb */ color: rgb(84, 56, 187);
/* oklch */ color: oklch(45.6% 0.194 285.6);
Tailwind
colors: {
  custom: {
    50: '#8e71d1',
    500: '#5438bb',
    950: '#000000',
  },
}
SCSS
$custom: #5438bb;
$custom-light: #8e71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5438bb",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 252.824,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.19361,
    "h": 285.6
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#5438BB
secondary
#BAC886
accent
#DD4BBE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5438BB

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

Preview Lab → · Contrast checker → · Palette generator →

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