#5A50FF#5A50FF

#5A50FF is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.6% C 0.248 H 277.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5A50FF
RGBrgb(90, 80, 255)
HSLhsl(243, 100%, 66%)
HSVhsv(243, 69%, 100%)
CMYKcmyk(64.7%, 68.6%, 0%, 0%)
CIE-LABlab(45.81, 54.49, -85.33)
CIE-LCHlch(45.81, 101.24, 302.56°)
OKLaboklab(55.6% 0.0309 -0.2464)
OKLCHoklch(55.6% 0.248 277.1)
XYZxyz(25.1292, 15.1288, 96.1842)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50FF #F5FF50
analogous
#509DFF #5A50FF #B250FF
triadic
#5A50FF #FF5A50 #50FF5A
tetradic
#5A50FF #FF509D #F5FF50 #50FFB2
square
#5A50FF #FF509D #F5FF50 #50FFB2
split-complementary
#5A50FF #FFB250 #9DFF50
monochromatic
#0C00D5 #2013FF #5A50FF #948DFF #CDCAFF

Accessibility & contrast

On white

5.22
#5A50FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A50FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50FF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50FF#FFFFFF#000000##FFFFFF
##5A50FF1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a50ff;
/* rgb */ color: rgb(90, 80, 255);
/* oklch */ color: oklch(55.6% 0.248 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b83ff',
    500: '#5a50ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a50ff;
$custom-light: #9b83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50ff",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 243.429,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.24829,
    "h": 277.1
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#5A50FF
secondary
#EFF3B8
accent
#E600D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5A50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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