#5A4ACF#5A4ACF

#5A4ACF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.196 H 282.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5A4ACF
RGBrgb(90, 74, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 64%, 81%)
CMYKcmyk(56.5%, 64.3%, 0%, 18.8%)
CIE-LABlab(40.53, 43.05, -66.78)
CIE-LCHlch(40.53, 79.45, 302.81°)
OKLaboklab(50.55% 0.0416 -0.192)
OKLCHoklch(50.55% 0.196 282.2)
XYZxyz(17.9242, 11.5751, 60.3091)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ACF #BFCF4A
analogous
#4A7CCF #5A4ACF #9C4ACF
triadic
#5A4ACF #CF5A4A #4ACF5A
tetradic
#5A4ACF #CF4A7C #BFCF4A #4ACF9C
square
#5A4ACF #CF4A7C #BFCF4A #4ACF9C
split-complementary
#5A4ACF #CF9C4A #7CCF4A
monochromatic
#2C217D #3D2EAE #5A4ACF #867ADC #B2ABE9

Accessibility & contrast

On white

6.33
#5A4ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5A4ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ACF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ACF#FFFFFF#000000##FFFFFF
##5A4ACF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#1C6B86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a4acf;
/* rgb */ color: rgb(90, 74, 207);
/* oklch */ color: oklch(50.5% 0.196 282.2);
Tailwind
colors: {
  custom: {
    50: '#947ddf',
    500: '#5a4acf',
    950: '#000000',
  },
}
SCSS
$custom: #5a4acf;
$custom-light: #947ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4acf",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 247.218,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.19645,
    "h": 282.2
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#5A4ACF
secondary
#D0D69F
accent
#E146CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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