#5D3EFF#5D3EFF

#5D3EFF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 53.5% C 0.265 H 279.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5D3EFF
RGBrgb(93, 62, 255)
HSLhsl(250, 100%, 62%)
HSVhsv(250, 76%, 100%)
CMYKcmyk(63.5%, 75.7%, 0%, 0%)
CIE-LABlab(42.75, 64.03, -90.36)
CIE-LCHlch(42.75, 110.75, 305.32°)
OKLaboklab(53.48% 0.0454 -0.2609)
OKLCHoklch(53.48% 0.265 279.9)
XYZxyz(24.2811, 12.9905, 95.8162)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EFF #E0FF3E
analogous
#3E80FF #5D3EFF #BD3EFF
triadic
#5D3EFF #FF5D3E #3EFF5D
tetradic
#5D3EFF #FF3E80 #E0FF3E #3EFFBD
square
#5D3EFF #FF3E80 #E0FF3E #3EFFBD
split-complementary
#5D3EFF #FFBD3E #80FF3E
monochromatic
#1F00C3 #2A01FF #5D3EFF #907BFF #C4B8FF

Accessibility & contrast

On white

5.84
#5D3EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D3EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3EFF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EFF#FFFFFF#000000##FFFFFF
##5D3EFF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#005DFC
Tritanopia (blue-blind)
#00779D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d3eff;
/* rgb */ color: rgb(93, 62, 255);
/* oklch */ color: oklch(53.5% 0.265 279.9);
Tailwind
colors: {
  custom: {
    50: '#9e78ff',
    500: '#5d3eff',
    950: '#000000',
  },
}
SCSS
$custom: #5d3eff;
$custom-light: #9e78ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3eff",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 255
  },
  "hsl": {
    "h": 249.637,
    "s": 100,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.26479,
    "h": 279.9
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#5D3EFF
secondary
#E4F0A9
accent
#E600C1
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #5D3EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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