#5D4BFC#5D4BFC

#5D4BFC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.8% C 0.249 H 278.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D4BFC
RGBrgb(93, 75, 252)
HSLhsl(246, 97%, 64%)
HSVhsv(246, 70%, 99%)
CMYKcmyk(63.1%, 70.2%, 0%, 1.2%)
CIE-LABlab(44.78, 56.63, -85.34)
CIE-LCHlch(44.78, 102.43, 303.57°)
OKLaboklab(54.83% 0.0383 -0.2463)
OKLCHoklch(54.83% 0.249 278.8)
XYZxyz(24.5953, 14.3856, 93.5572)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BFC #EAFC4B
analogous
#4B92FC #5D4BFC #B64BFC
triadic
#5D4BFC #FC5D4B #4BFC5D
tetradic
#5D4BFC #FC4B92 #EAFC4B #4BFCB6
square
#5D4BFC #FC4B92 #EAFC4B #4BFCB6
split-complementary
#5D4BFC #FCB64B #92FC4B
monochromatic
#1703C9 #270FFB #5D4BFC #9387FD #C9C3FE

Accessibility & contrast

On white

5.42
#5D4BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D4BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BFC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BFC#FFFFFF#000000##FFFFFF
##5D4BFC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0063F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d4bfc;
/* rgb */ color: rgb(93, 75, 252);
/* oklch */ color: oklch(54.8% 0.249 278.8);
Tailwind
colors: {
  custom: {
    50: '#9d80ff',
    500: '#5d4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bfc;
$custom-light: #9d80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bfc",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 246.102,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.24926,
    "h": 278.8
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#5D4BFC
secondary
#EAF0B3
accent
#E600CE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5D4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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