#5036C8#5036C8

#5036C8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.212 H 282.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5036C8
RGBrgb(80, 54, 200)
HSLhsl(251, 57%, 50%)
HSVhsv(251, 73%, 78%)
CMYKcmyk(60%, 73%, 0%, 21.6%)
CIE-LABlab(35.03, 50.55, -71.76)
CIE-LCHlch(35.03, 87.78, 305.16°)
OKLaboklab(46.21% 0.0455 -0.2069)
OKLCHoklch(46.21% 0.212 282.4)
XYZxyz(15.0495, 8.5129, 55.4825)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036C8 #AEC836
analogous
#3665C8 #5036C8 #9936C8
triadic
#5036C8 #C85036 #36C850
tetradic
#5036C8 #C83665 #AEC836 #36C899
square
#5036C8 #C83665 #AEC836 #36C899
split-complementary
#5036C8 #C89936 #65C836
monochromatic
#291C68 #3D2998 #5036C8 #7A66D6 #A396E3

Accessibility & contrast

On white

7.77
#5036C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5036C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036C8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036C8#FFFFFF#000000##FFFFFF
##5036C81.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5036c8;
/* rgb */ color: rgb(80, 54, 200);
/* oklch */ color: oklch(46.2% 0.212 282.4);
Tailwind
colors: {
  custom: {
    50: '#8f70da',
    500: '#5036c8',
    950: '#000000',
  },
}
SCSS
$custom: #5036c8;
$custom-light: #8f70da;
$custom-dark: #000000;
JSON
{
  "hex": "#5036c8",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 250.685,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.21181,
    "h": 282.4
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#5036C8
secondary
#C2CE8C
accent
#E147C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5036C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5036C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva