#5952ED#5952ED

#5952ED is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.225 H 277.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5952ED
RGBrgb(89, 82, 237)
HSLhsl(243, 81%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(62.4%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.62, 47.64, -77.21)
CIE-LCHlch(44.62, 90.72, 301.68°)
OKLaboklab(54.25% 0.0306 -0.2226)
OKLCHoklch(54.25% 0.225 277.8)
XYZxyz(22.4182, 14.2711, 81.6776)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952ED #E6ED52
analogous
#5298ED #5952ED #A752ED
triadic
#5952ED #ED5952 #52ED59
tetradic
#5952ED #ED5298 #E6ED52 #52EDA7
square
#5952ED #ED5298 #E6ED52 #52EDA7
split-complementary
#5952ED #EDA752 #98ED52
monochromatic
#1A13B2 #241BE7 #5952ED #8E89F3 #C3C1F9

Accessibility & contrast

On white

5.45
#5952ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5952ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952ED
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952ED#FFFFFF#000000##FFFFFF
##5952ED1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5952ed;
/* rgb */ color: rgb(89, 82, 237);
/* oklch */ color: oklch(54.3% 0.225 277.8);
Tailwind
colors: {
  custom: {
    50: '#9783f4',
    500: '#5952ed',
    950: '#000000',
  },
}
SCSS
$custom: #5952ed;
$custom-light: #9783f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ed",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 242.71,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.22469,
    "h": 277.8
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#5952ED
secondary
#E7EAB1
accent
#DE08D4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5952ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5952ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva