#5950F6#5950F6

#5950F6 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.7% C 0.238 H 277.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5950F6
RGBrgb(89, 80, 246)
HSLhsl(243, 90%, 64%)
HSVhsv(243, 67%, 96%)
CMYKcmyk(63.8%, 67.5%, 0%, 3.5%)
CIE-LABlab(44.96, 51.58, -81.71)
CIE-LCHlch(44.96, 96.63, 302.27°)
OKLaboklab(54.73% 0.0309 -0.2358)
OKLCHoklch(54.73% 0.238 277.5)
XYZxyz(23.6176, 14.5130, 88.7276)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950F6 #EDF650
analogous
#509AF6 #5950F6 #AC50F6
triadic
#5950F6 #F65950 #50F659
tetradic
#5950F6 #F6509A #EDF650 #50F6AC
square
#5950F6 #F6509A #EDF650 #50F6AC
split-complementary
#5950F6 #F6AC50 #9AF650
monochromatic
#140AC2 #2216F3 #5950F6 #908AF9 #C7C4FC

Accessibility & contrast

On white

5.38
#5950F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5950F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950F6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950F6#FFFFFF#000000##FFFFFF
##5950F61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FB
Deuteranopia (green-blind)
#0063F3
Tritanopia (blue-blind)
#007C9D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5950f6;
/* rgb */ color: rgb(89, 80, 246);
/* oklch */ color: oklch(54.7% 0.238 277.5);
Tailwind
colors: {
  custom: {
    50: '#9982fa',
    500: '#5950f6',
    950: '#000000',
  },
}
SCSS
$custom: #5950f6;
$custom-light: #9982fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5950f6",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 246
  },
  "hsl": {
    "h": 243.253,
    "s": 90.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.23779,
    "h": 277.5
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#5950F6
secondary
#EBEEB4
accent
#E600D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5950F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5950F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva