#5A4BDE#5A4BDE

#5A4BDE is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.214 H 280.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5A4BDE
RGBrgb(90, 75, 222)
HSLhsl(246, 69%, 58%)
HSVhsv(246, 66%, 87%)
CMYKcmyk(59.5%, 66.2%, 0%, 12.9%)
CIE-LABlab(41.97, 47.11, -73.04)
CIE-LCHlch(41.97, 86.92, 302.82°)
OKLaboklab(51.97% 0.0391 -0.2104)
OKLCHoklch(51.97% 0.214 280.5)
XYZxyz(19.9132, 12.4783, 70.4523)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BDE #CFDE4B
analogous
#4B86DE #5A4BDE #A34BDE
triadic
#5A4BDE #DE5A4B #4BDE5A
tetradic
#5A4BDE #DE4B86 #CFDE4B #4BDEA3
square
#5A4BDE #DE4B86 #CFDE4B #4BDEA3
split-complementary
#5A4BDE #DEA34B #86DE4B
monochromatic
#271B94 #3525C7 #5A4BDE #897FE7 #B9B2F1

Accessibility & contrast

On white

6.01
#5A4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5A4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BDE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BDE#FFFFFF#000000##FFFFFF
##5A4BDE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4bde;
/* rgb */ color: rgb(90, 75, 222);
/* oklch */ color: oklch(52.0% 0.214 280.5);
Tailwind
colors: {
  custom: {
    50: '#967fe9',
    500: '#5a4bde',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bde;
$custom-light: #967fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bde",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 246.122,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.21397,
    "h": 280.5
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#5A4BDE
secondary
#DAE0A5
accent
#EC3CDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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