#5E4CDA#5E4CDA

#5E4CDA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.207 H 282.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5E4CDA
RGBrgb(94, 76, 218)
HSLhsl(248, 66%, 58%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.9%, 65.1%, 0%, 14.5%)
CIE-LABlab(42.17, 45.93, -70.42)
CIE-LCHlch(42.17, 84.07, 303.12°)
OKLaboklab(52.09% 0.0438 -0.2025)
OKLCHoklch(52.09% 0.207 282.2)
XYZxyz(19.8515, 12.6092, 67.7038)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CDA #C8DA4C
analogous
#4C81DA #5E4CDA #A54CDA
triadic
#5E4CDA #DA5E4C #4CDA5E
tetradic
#5E4CDA #DA4C81 #C8DA4C #4CDAA5
square
#5E4CDA #DA4C81 #C8DA4C #4CDAA5
split-complementary
#5E4CDA #DAA54C #81DA4C
monochromatic
#2C1D8E #3B28C1 #5E4CDA #8C7FE4 #B9B1EF

Accessibility & contrast

On white

5.96
#5E4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5E4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CDA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CDA#FFFFFF#000000##FFFFFF
##5E4CDA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#19708C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4cda;
/* rgb */ color: rgb(94, 76, 218);
/* oklch */ color: oklch(52.1% 0.207 282.2);
Tailwind
colors: {
  custom: {
    50: '#977fe6',
    500: '#5e4cda',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cda;
$custom-light: #977fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cda",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 247.606,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.20723,
    "h": 282.2
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#5E4CDA
secondary
#D6DDA4
accent
#E93FD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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