#5D4FDE#5D4FDE

#5D4FDE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.209 H 280.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5D4FDE
RGBrgb(93, 79, 222)
HSLhsl(246, 68%, 59%)
HSVhsv(246, 64%, 87%)
CMYKcmyk(58.1%, 64.4%, 0%, 12.9%)
CIE-LABlab(43.05, 45.28, -71.26)
CIE-LCHlch(43.05, 84.43, 302.43°)
OKLaboklab(52.81% 0.0395 -0.205)
OKLCHoklch(52.81% 0.209 280.9)
XYZxyz(20.4909, 13.1916, 70.5595)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FDE #D0DE4F
analogous
#4F89DE #5D4FDE #A54FDE
triadic
#5D4FDE #DE5D4F #4FDE5D
tetradic
#5D4FDE #DE4F89 #D0DE4F #4FDEA5
square
#5D4FDE #DE4F89 #D0DE4F #4FDEA5
split-complementary
#5D4FDE #DEA54F #89DE4F
monochromatic
#281C96 #3626CA #5D4FDE #8C83E8 #BCB6F1

Accessibility & contrast

On white

5.77
#5D4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5D4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FDE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FDE#FFFFFF#000000##FFFFFF
##5D4FDE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#03738F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4fde;
/* rgb */ color: rgb(93, 79, 222);
/* oklch */ color: oklch(52.8% 0.209 280.9);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5d4fde',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fde;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fde",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 245.874,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.20883,
    "h": 280.9
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#5D4FDE
secondary
#DBE0A8
accent
#EB3DDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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