#5D50F6#5D50F6

#5D50F6 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.0% C 0.237 H 278.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D50F6
RGBrgb(93, 80, 246)
HSLhsl(245, 90%, 64%)
HSVhsv(245, 67%, 96%)
CMYKcmyk(62.2%, 67.5%, 0%, 3.5%)
CIE-LABlab(45.24, 52.10, -81.23)
CIE-LCHlch(45.24, 96.50, 302.68°)
OKLaboklab(55.01% 0.0358 -0.2343)
OKLCHoklch(55.01% 0.237 278.7)
XYZxyz(24.0121, 14.7164, 88.7461)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50F6 #E9F650
analogous
#5096F6 #5D50F6 #B050F6
triadic
#5D50F6 #F65D50 #50F65D
tetradic
#5D50F6 #F65096 #E9F650 #50F6B0
square
#5D50F6 #F65096 #E9F650 #50F6B0
split-complementary
#5D50F6 #F6B050 #96F650
monochromatic
#180AC2 #2716F3 #5D50F6 #938AF9 #C9C4FC

Accessibility & contrast

On white

5.33
#5D50F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D50F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50F6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50F6#FFFFFF#000000##FFFFFF
##5D50F61.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FB
Deuteranopia (green-blind)
#0064F3
Tritanopia (blue-blind)
#007C9D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d50f6;
/* rgb */ color: rgb(93, 80, 246);
/* oklch */ color: oklch(55.0% 0.237 278.7);
Tailwind
colors: {
  custom: {
    50: '#9b83fa',
    500: '#5d50f6',
    950: '#000000',
  },
}
SCSS
$custom: #5d50f6;
$custom-light: #9b83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50f6",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 246
  },
  "hsl": {
    "h": 244.699,
    "s": 90.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.23699,
    "h": 278.7
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#5D50F6
secondary
#E9EEB4
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D50F6

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

Preview Lab → · Contrast checker → · Palette generator →

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