#5B4CF7#5B4CF7

#5B4CF7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.4% C 0.243 H 278.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5B4CF7
RGBrgb(91, 76, 247)
HSLhsl(245, 91%, 63%)
HSVhsv(245, 69%, 97%)
CMYKcmyk(63.2%, 69.2%, 0%, 3.1%)
CIE-LABlab(44.39, 54.35, -83.20)
CIE-LCHlch(44.39, 99.38, 303.15°)
OKLaboklab(54.38% 0.036 -0.2401)
OKLCHoklch(54.38% 0.243 278.5)
XYZxyz(23.6819, 14.1065, 89.4525)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CF7 #E8F74C
analogous
#4C92F7 #5B4CF7 #B04CF7
triadic
#5B4CF7 #F75B4C #4CF75B
tetradic
#5B4CF7 #F74C92 #E8F74C #4CF7B0
square
#5B4CF7 #F74C92 #E8F74C #4CF7B0
split-complementary
#5B4CF7 #F7B04C #92F74C
monochromatic
#1909C0 #2511F4 #5B4CF7 #9187FA #C6C1FC

Accessibility & contrast

On white

5.50
#5B4CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5B4CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CF7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CF7#FFFFFF#000000##FFFFFF
##5B4CF71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FC
Deuteranopia (green-blind)
#0062F4
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b4cf7;
/* rgb */ color: rgb(91, 76, 247);
/* oklch */ color: oklch(54.4% 0.243 278.5);
Tailwind
colors: {
  custom: {
    50: '#9b80fb',
    500: '#5b4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cf7;
$custom-light: #9b80fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cf7",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 245.263,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.24278,
    "h": 278.5
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#5B4CF7
secondary
#E9EEB1
accent
#E600D1
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5B4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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