#5D4BCA#5D4BCA

#5D4BCA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.188 H 283.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5D4BCA
RGBrgb(93, 75, 202)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 63%, 79%)
CMYKcmyk(54%, 62.9%, 0%, 20.8%)
CIE-LABlab(40.61, 41.45, -63.75)
CIE-LCHlch(40.61, 76.04, 303.03°)
OKLaboklab(50.54% 0.045 -0.183)
OKLCHoklch(50.54% 0.188 283.8)
XYZxyz(17.6877, 11.6226, 57.1770)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BCA #B8CA4B
analogous
#4B79CA #5D4BCA #9D4BCA
triadic
#5D4BCA #CA5D4B #4BCA5D
tetradic
#5D4BCA #CA4B79 #B8CA4B #4BCA9D
square
#5D4BCA #CA4B79 #B8CA4B #4BCA9D
split-complementary
#5D4BCA #CA9D4B #79CA4B
monochromatic
#2F2377 #4231A7 #5D4BCA #887AD8 #B2AAE6

Accessibility & contrast

On white

6.32
#5D4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BCA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BCA#FFFFFF#000000##FFFFFF
##5D4BCA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#2D6A83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4bca;
/* rgb */ color: rgb(93, 75, 202);
/* oklch */ color: oklch(50.5% 0.188 283.8);
Tailwind
colors: {
  custom: {
    50: '#947edb',
    500: '#5d4bca',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bca;
$custom-light: #947edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bca",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 248.504,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.18846,
    "h": 283.8
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#5D4BCA
secondary
#CCD39D
accent
#DE4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4BCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva