#5C48FF#5C48FF

#5C48FF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.6% C 0.256 H 278.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5C48FF
RGBrgb(92, 72, 255)
HSLhsl(247, 100%, 64%)
HSVhsv(247, 72%, 100%)
CMYKcmyk(63.9%, 71.8%, 0%, 0%)
CIE-LABlab(44.42, 58.98, -87.62)
CIE-LCHlch(44.42, 105.62, 303.95°)
OKLaboklab(54.64% 0.0384 -0.253)
OKLCHoklch(54.64% 0.256 278.6)
XYZxyz(24.7752, 14.1280, 96.0097)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48FF #EBFF48
analogous
#4890FF #5C48FF #B748FF
triadic
#5C48FF #FF5C48 #48FF5C
tetradic
#5C48FF #FF4890 #EBFF48 #48FFB7
square
#5C48FF #FF4890 #EBFF48 #48FFB7
split-complementary
#5C48FF #FFB748 #90FF48
monochromatic
#1600CD #250BFF #5C48FF #9385FF #C9C2FF

Accessibility & contrast

On white

5.49
#5C48FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5C48FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48FF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48FF#FFFFFF#000000##FFFFFF
##5C48FF1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c48ff;
/* rgb */ color: rgb(92, 72, 255);
/* oklch */ color: oklch(54.6% 0.256 278.6);
Tailwind
colors: {
  custom: {
    50: '#9d7eff',
    500: '#5c48ff',
    950: '#000000',
  },
}
SCSS
$custom: #5c48ff;
$custom-light: #9d7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48ff",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 246.557,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.25585,
    "h": 278.6
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#5C48FF
secondary
#EAF1B1
accent
#E600CC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5C48FF

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

Preview Lab → · Contrast checker → · Palette generator →

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