#5D4CCF#5D4CCF

#5D4CCF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.1% C 0.194 H 283.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5D4CCF
RGBrgb(93, 76, 207)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 63%, 81%)
CMYKcmyk(55.1%, 63.3%, 0%, 18.8%)
CIE-LABlab(41.22, 42.40, -65.66)
CIE-LCHlch(41.22, 78.16, 302.85°)
OKLaboklab(51.11% 0.0437 -0.1886)
OKLCHoklch(51.11% 0.194 283)
XYZxyz(18.3577, 11.9999, 60.3683)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CCF #BECF4C
analogous
#4C7DCF #5D4CCF #9E4CCF
triadic
#5D4CCF #CF5D4C #4CCF5D
tetradic
#5D4CCF #CF4C7D #BECF4C #4CCF9E
square
#5D4CCF #CF4C7D #BECF4C #4CCF9E
split-complementary
#5D4CCF #CF9E4C #7DCF4C
monochromatic
#2E227F #402FAF #5D4CCF #897CDC #B4ADE9

Accessibility & contrast

On white

6.18
#5D4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5D4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CCF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CCF#FFFFFF#000000##FFFFFF
##5D4CCF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#276C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4ccf;
/* rgb */ color: rgb(93, 76, 207);
/* oklch */ color: oklch(51.1% 0.194 283.0);
Tailwind
colors: {
  custom: {
    50: '#957fdf',
    500: '#5d4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ccf;
$custom-light: #957fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ccf",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 247.786,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.19358,
    "h": 283
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#5D4CCF
secondary
#D0D7A0
accent
#E147CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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