#5A46FF#5A46FF

#5A46FF is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 54.2% C 0.258 H 278.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5A46FF
RGBrgb(90, 70, 255)
HSLhsl(246, 100%, 64%)
HSVhsv(246, 73%, 100%)
CMYKcmyk(64.7%, 72.5%, 0%, 0%)
CIE-LABlab(43.90, 59.79, -88.47)
CIE-LCHlch(43.90, 106.78, 304.05°)
OKLaboklab(54.24% 0.037 -0.2555)
OKLCHoklch(54.24% 0.258 278.2)
XYZxyz(24.4508, 13.7719, 95.9581)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A46FF #EBFF46
analogous
#468EFF #5A46FF #B646FF
triadic
#5A46FF #FF5A46 #46FF5A
tetradic
#5A46FF #FF468E #EBFF46 #46FFB6
square
#5A46FF #FF468E #EBFF46 #46FFB6
split-complementary
#5A46FF #FFB646 #8EFF46
monochromatic
#1600CB #2309FF #5A46FF #9183FF #C7C0FF

Accessibility & contrast

On white

5.59
#5A46FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5A46FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A46FF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A46FF#FFFFFF#000000##FFFFFF
##5A46FF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a46ff;
/* rgb */ color: rgb(90, 70, 255);
/* oklch */ color: oklch(54.2% 0.258 278.2);
Tailwind
colors: {
  custom: {
    50: '#9c7cff',
    500: '#5a46ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a46ff;
$custom-light: #9c7cff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a46ff",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 246.486,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.25815,
    "h": 278.2
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#5A46FF
secondary
#EAF1B0
accent
#E600CD
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5A46FF

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

Preview Lab → · Contrast checker → · Palette generator →

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