#5438BE#5438BE

#5438BE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.197 H 285.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5438BE
RGBrgb(84, 56, 190)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(55.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(34.86, 47.08, -66.17)
CIE-LCHlch(34.86, 81.21, 305.43°)
OKLaboklab(45.9% 0.0516 -0.1904)
OKLCHoklch(45.9% 0.197 285.2)
XYZxyz(14.3618, 8.4300, 49.5756)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438BE #A2BE38
analogous
#385FBE #5438BE #9738BE
triadic
#5438BE #BE5438 #38BE54
tetradic
#5438BE #BE385F #A2BE38 #38BE97
square
#5438BE #BE385F #A2BE38 #38BE97
split-complementary
#5438BE #BE9738 #5FBE38
monochromatic
#2A1C5F #3F2A8F #5438BE #7962D1 #A292DF

Accessibility & contrast

On white

7.82
#5438BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5438BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438BE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438BE#FFFFFF#000000##FFFFFF
##5438BE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#225C77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5438be;
/* rgb */ color: rgb(84, 56, 190);
/* oklch */ color: oklch(45.9% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#8f71d3',
    500: '#5438be',
    950: '#000000',
  },
}
SCSS
$custom: #5438be;
$custom-light: #8f71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5438be",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 252.537,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.459,
    "c": 0.19724,
    "h": 285.2
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#5438BE
secondary
#BCCA88
accent
#DE4ABF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5438BE

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

Preview Lab → · Contrast checker → · Palette generator →

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