#5D45E6#5D45E6

#5D45E6 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.0% C 0.230 H 281.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5D45E6
RGBrgb(93, 69, 230)
HSLhsl(249, 76%, 59%)
HSVhsv(249, 70%, 90%)
CMYKcmyk(59.6%, 70%, 0%, 9.8%)
CIE-LABlab(41.68, 53.26, -78.05)
CIE-LCHlch(41.68, 94.50, 304.31°)
OKLaboklab(52.03% 0.0464 -0.2249)
OKLCHoklch(52.03% 0.23 281.6)
XYZxyz(20.9208, 12.2951, 76.1183)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45E6 #CEE645
analogous
#457DE6 #5D45E6 #AD45E6
triadic
#5D45E6 #E65D45 #45E65D
tetradic
#5D45E6 #E6457D #CEE645 #45E6AD
square
#5D45E6 #E6457D #CEE645 #45E6AD
split-complementary
#5D45E6 #E6AD45 #7DE645
monochromatic
#29159C #371CD2 #5D45E6 #8C7BED #BBB1F5

Accessibility & contrast

On white

6.07
#5D45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D45E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45E6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45E6#FFFFFF#000000##FFFFFF
##5D45E61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d45e6;
/* rgb */ color: rgb(93, 69, 230);
/* oklch */ color: oklch(52.0% 0.230 281.6);
Tailwind
colors: {
  custom: {
    50: '#997bef',
    500: '#5d45e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d45e6;
$custom-light: #997bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45e6",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 248.944,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.22968,
    "h": 281.6
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#5D45E6
secondary
#DAE3A4
accent
#F335D7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5D45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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