#5D4CC7#5D4CC7

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

Color values

HEX#5D4CC7
RGBrgb(93, 76, 199)
HSLhsl(248, 52%, 54%)
HSVhsv(248, 62%, 78%)
CMYKcmyk(53.3%, 61.8%, 0%, 22%)
CIE-LABlab(40.60, 39.95, -62.02)
CIE-LCHlch(40.60, 73.78, 302.79°)
OKLaboklab(50.47% 0.0443 -0.1779)
OKLCHoklch(50.47% 0.183 284)
XYZxyz(17.4043, 11.6186, 55.3473)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CC7 #B6C74C
analogous
#4C79C7 #5D4CC7 #9B4CC7
triadic
#5D4CC7 #C75D4C #4CC75D
tetradic
#5D4CC7 #C74C79 #B6C74C #4CC79B
square
#5D4CC7 #C74C79 #B6C74C #4CC79B
split-complementary
#5D4CC7 #C79B4C #79C74C
monochromatic
#2F2474 #4233A3 #5D4CC7 #877BD6 #B1A9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4CC7#FFFFFF#000000##FFFFFF
##5D4CC71.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)
#0063CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#306A82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4cc7;
/* rgb */ color: rgb(93, 76, 199);
/* oklch */ color: oklch(50.5% 0.183 284.0);
Tailwind
colors: {
  custom: {
    50: '#947fd9',
    500: '#5d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cc7;
$custom-light: #947fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cc7",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 248.293,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.18334,
    "h": 284
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#5D4CC7
secondary
#CAD29D
accent
#DC4CC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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