#5D52FF#5D52FF

#5D52FF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.1% C 0.246 H 277.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D52FF
RGBrgb(93, 82, 255)
HSLhsl(244, 100%, 66%)
HSVhsv(244, 68%, 100%)
CMYKcmyk(63.5%, 67.8%, 0%, 0%)
CIE-LABlab(46.42, 53.76, -84.33)
CIE-LCHlch(46.42, 100.00, 302.52°)
OKLaboklab(56.09% 0.0332 -0.2433)
OKLCHoklch(56.09% 0.246 277.8)
XYZxyz(25.5757, 15.5796, 96.2477)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52FF #F4FF52
analogous
#529DFF #5D52FF #B352FF
triadic
#5D52FF #FF5D52 #52FF5D
tetradic
#5D52FF #FF529D #F4FF52 #52FFB3
square
#5D52FF #FF529D #F4FF52 #52FFB3
split-complementary
#5D52FF #FFB352 #9DFF52
monochromatic
#0E00D7 #2415FF #5D52FF #968FFF #D0CCFF

Accessibility & contrast

On white

5.10
#5D52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52FF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52FF#FFFFFF#000000##FFFFFF
##5D52FF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d52ff;
/* rgb */ color: rgb(93, 82, 255);
/* oklch */ color: oklch(56.1% 0.246 277.8);
Tailwind
colors: {
  custom: {
    50: '#9d84ff',
    500: '#5d52ff',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ff;
$custom-light: #9d84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ff",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 243.815,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.24559,
    "h": 277.8
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#5D52FF
secondary
#EFF3BA
accent
#E600D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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