#5A4BFC#5A4BFC

#5A4BFC is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.6% C 0.250 H 277.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5A4BFC
RGBrgb(90, 75, 252)
HSLhsl(245, 97%, 64%)
HSVhsv(245, 70%, 99%)
CMYKcmyk(64.3%, 70.2%, 0%, 1.2%)
CIE-LABlab(44.56, 56.28, -85.71)
CIE-LCHlch(44.56, 102.53, 303.29°)
OKLaboklab(54.62% 0.0346 -0.2474)
OKLCHoklch(54.62% 0.25 277.9)
XYZxyz(24.2975, 14.2321, 93.5432)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BFC #EDFC4B
analogous
#4B95FC #5A4BFC #B34BFC
triadic
#5A4BFC #FC5A4B #4BFC5A
tetradic
#5A4BFC #FC4B95 #EDFC4B #4BFCB3
square
#5A4BFC #FC4B95 #EDFC4B #4BFCB3
split-complementary
#5A4BFC #FCB34B #95FC4B
monochromatic
#1403C9 #230FFB #5A4BFC #9187FD #C8C3FE

Accessibility & contrast

On white

5.46
#5A4BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5A4BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BFC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BFC#FFFFFF#000000##FFFFFF
##5A4BFC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0062F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a4bfc;
/* rgb */ color: rgb(90, 75, 252);
/* oklch */ color: oklch(54.6% 0.250 277.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fff',
    500: '#5a4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bfc;
$custom-light: #9b7fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bfc",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 245.085,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.24984,
    "h": 277.9
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#5A4BFC
secondary
#EBF0B3
accent
#E600D2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5A4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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