#5D4BDF#5D4BDF

#5D4BDF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.215 H 281.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D4BDF
RGBrgb(93, 75, 223)
HSLhsl(247, 70%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(58.3%, 66.4%, 0%, 12.5%)
CIE-LABlab(42.29, 47.87, -73.08)
CIE-LCHlch(42.29, 87.36, 303.22°)
OKLaboklab(52.28% 0.0428 -0.2104)
OKLCHoklch(52.28% 0.215 281.5)
XYZxyz(20.3454, 12.6856, 71.1742)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BDF #CDDF4B
analogous
#4B83DF #5D4BDF #A74BDF
triadic
#5D4BDF #DF5D4B #4BDF5D
tetradic
#5D4BDF #DF4B83 #CDDF4B #4BDFA7
square
#5D4BDF #DF4B83 #CDDF4B #4BDFA7
split-complementary
#5D4BDF #DFA74B #83DF4B
monochromatic
#291B95 #3824C9 #5D4BDF #8C7FE8 #BBB3F1

Accessibility & contrast

On white

5.94
#5D4BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D4BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BDF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BDF#FFFFFF#000000##FFFFFF
##5D4BDF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4bdf;
/* rgb */ color: rgb(93, 75, 223);
/* oklch */ color: oklch(52.3% 0.215 281.5);
Tailwind
colors: {
  custom: {
    50: '#987fea',
    500: '#5d4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bdf;
$custom-light: #987fea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bdf",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 247.297,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.2147,
    "h": 281.5
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#5D4BDF
secondary
#D9E0A6
accent
#ED3BD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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