#5D4FE6#5D4FE6

#5D4FE6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.219 H 280.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE6
RGBrgb(93, 79, 230)
HSLhsl(246, 75%, 61%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(59.6%, 65.7%, 0%, 9.8%)
CIE-LABlab(43.70, 47.75, -74.75)
CIE-LCHlch(43.70, 88.70, 302.57°)
OKLaboklab(53.48% 0.0387 -0.2153)
OKLCHoklch(53.48% 0.219 280.2)
XYZxyz(21.5886, 13.6307, 76.3409)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE6 #D8E64F
analogous
#4F8CE6 #5D4FE6 #A84FE6
triadic
#5D4FE6 #E65D4F #4FE65D
tetradic
#5D4FE6 #E64F8C #D8E64F #4FE6A8
square
#5D4FE6 #E64F8C #D8E64F #4FE6A8
split-complementary
#5D4FE6 #E6A84F #8CE64F
monochromatic
#2417A3 #301FD9 #5D4FE6 #8E85EE #C0BAF5

Accessibility & contrast

On white

5.64
#5D4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5D4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE6#FFFFFF#000000##FFFFFF
##5D4FE61.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4fe6;
/* rgb */ color: rgb(93, 79, 230);
/* oklch */ color: oklch(53.5% 0.219 280.2);
Tailwind
colors: {
  custom: {
    50: '#9881ef',
    500: '#5d4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe6;
$custom-light: #9881ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe6",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 245.563,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.21872,
    "h": 280.2
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#5D4FE6
secondary
#E0E5AC
accent
#D70EC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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