#5D4FCA#5D4FCA

#5D4FCA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.183 H 283.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D4FCA
RGBrgb(93, 79, 202)
HSLhsl(247, 54%, 55%)
HSVhsv(247, 61%, 79%)
CMYKcmyk(54%, 60.9%, 0%, 20.8%)
CIE-LABlab(41.50, 39.10, -62.30)
CIE-LCHlch(41.50, 73.55, 302.11°)
OKLaboklab(51.2% 0.0411 -0.1787)
OKLCHoklch(51.2% 0.183 283)
XYZxyz(17.9676, 12.1823, 57.2703)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FCA #BCCA4F
analogous
#4F7FCA #5D4FCA #9A4FCA
triadic
#5D4FCA #CA5D4F #4FCA5D
tetradic
#5D4FCA #CA4F7F #BCCA4F #4FCA9A
square
#5D4FCA #CA4F7F #BCCA4F #4FCA9A
split-complementary
#5D4FCA #CA9A4F #7FCA4F
monochromatic
#2E257A #4033A9 #5D4FCA #887ED8 #B4ADE6

Accessibility & contrast

On white

6.11
#5D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5D4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FCA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FCA#FFFFFF#000000##FFFFFF
##5D4FCA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#2D6C85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4fca;
/* rgb */ color: rgb(93, 79, 202);
/* oklch */ color: oklch(51.2% 0.183 283.0);
Tailwind
colors: {
  custom: {
    50: '#9481db',
    500: '#5d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fca;
$custom-light: #9481db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fca",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 246.829,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.18338,
    "h": 283
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#5D4FCA
secondary
#CED4A1
accent
#DD4BCC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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