#5D4CDA#5D4CDA

#5D4CDA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.207 H 281.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D4CDA
RGBrgb(93, 76, 218)
HSLhsl(247, 66%, 58%)
HSVhsv(247, 65%, 85%)
CMYKcmyk(57.3%, 65.1%, 0%, 14.5%)
CIE-LABlab(42.09, 45.77, -70.55)
CIE-LCHlch(42.09, 84.10, 302.97°)
OKLaboklab(52.01% 0.0426 -0.203)
OKLCHoklch(52.01% 0.207 281.8)
XYZxyz(19.7496, 12.5567, 67.6991)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CDA #C9DA4C
analogous
#4C82DA #5D4CDA #A44CDA
triadic
#5D4CDA #DA5D4C #4CDA5D
tetradic
#5D4CDA #DA4C82 #C9DA4C #4CDAA4
square
#5D4CDA #DA4C82 #C9DA4C #4CDAA4
split-complementary
#5D4CDA #DAA44C #82DA4C
monochromatic
#2B1D8E #3A28C1 #5D4CDA #8B7FE4 #B9B1EF

Accessibility & contrast

On white

5.98
#5D4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CDA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CDA#FFFFFF#000000##FFFFFF
##5D4CDA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#13708C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4cda;
/* rgb */ color: rgb(93, 76, 218);
/* oklch */ color: oklch(52.0% 0.207 281.8);
Tailwind
colors: {
  custom: {
    50: '#977fe7',
    500: '#5d4cda',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cda;
$custom-light: #977fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cda",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 247.183,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.20738,
    "h": 281.8
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#5D4CDA
secondary
#D7DDA4
accent
#E93FD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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