#5D4ACF#5D4ACF

#5D4ACF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.8% C 0.196 H 283.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5D4ACF
RGBrgb(93, 74, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 64%, 81%)
CMYKcmyk(55.1%, 64.3%, 0%, 18.8%)
CIE-LABlab(40.78, 43.56, -66.36)
CIE-LCHlch(40.78, 79.38, 303.28°)
OKLaboklab(50.79% 0.0455 -0.1907)
OKLCHoklch(50.79% 0.196 283.4)
XYZxyz(18.2220, 11.7286, 60.3230)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ACF #BCCF4A
analogous
#4A7ACF #5D4ACF #9F4ACF
triadic
#5D4ACF #CF5D4A #4ACF5D
tetradic
#5D4ACF #CF4A7A #BCCF4A #4ACF9F
square
#5D4ACF #CF4A7A #BCCF4A #4ACF9F
split-complementary
#5D4ACF #CF9F4A #7ACF4A
monochromatic
#2E217D #402EAE #5D4ACF #887ADC #B4ABE9

Accessibility & contrast

On white

6.28
#5D4ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D4ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ACF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ACF#FFFFFF#000000##FFFFFF
##5D4ACF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#276B86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4acf;
/* rgb */ color: rgb(93, 74, 207);
/* oklch */ color: oklch(50.8% 0.196 283.4);
Tailwind
colors: {
  custom: {
    50: '#957edf',
    500: '#5d4acf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4acf;
$custom-light: #957edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4acf",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 248.571,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.19603,
    "h": 283.4
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#5D4ACF
secondary
#CED69F
accent
#E146CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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