#5E37D7#5E37D7

#5E37D7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.226 H 285.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5E37D7
RGBrgb(94, 55, 215)
HSLhsl(255, 67%, 53%)
HSVhsv(255, 74%, 84%)
CMYKcmyk(56.3%, 74.4%, 0%, 15.7%)
CIE-LABlab(37.87, 56.21, -75.73)
CIE-LCHlch(37.87, 94.31, 306.58°)
OKLaboklab(48.95% 0.0611 -0.2181)
OKLCHoklch(48.95% 0.226 285.7)
XYZxyz(18.2443, 10.0173, 65.2490)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37D7 #B0D737
analogous
#3760D7 #5E37D7 #AE37D7
triadic
#5E37D7 #D75E37 #37D75E
tetradic
#5E37D7 #D73760 #B0D737 #37D7AE
square
#5E37D7 #D73760 #B0D737 #37D7AE
split-complementary
#5E37D7 #D7AE37 #60D737
monochromatic
#31197B #4523AE #5E37D7 #876AE1 #B09DEB

Accessibility & contrast

On white

6.99
#5E37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5E37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E37D7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37D7#FFFFFF#000000##FFFFFF
##5E37D71.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#226485
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e37d7;
/* rgb */ color: rgb(94, 55, 215);
/* oklch */ color: oklch(48.9% 0.226 285.7);
Tailwind
colors: {
  custom: {
    50: '#9872e5',
    500: '#5e37d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e37d7;
$custom-light: #9872e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37d7",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 254.625,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.22646,
    "h": 285.7
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#5E37D7
secondary
#C7D792
accent
#EA3EC0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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