#5035D7#5035D7

#5035D7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.230 H 280.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5035D7
RGBrgb(80, 53, 215)
HSLhsl(250, 67%, 53%)
HSVhsv(250, 75%, 84%)
CMYKcmyk(62.8%, 75.3%, 0%, 15.7%)
CIE-LABlab(36.28, 55.48, -78.39)
CIE-LCHlch(36.28, 96.04, 305.29°)
OKLaboklab(47.52% 0.0426 -0.2262)
OKLCHoklch(47.52% 0.23 280.7)
XYZxyz(16.8432, 9.1567, 65.1566)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035D7 #BCD735
analogous
#356BD7 #5035D7 #A135D7
triadic
#5035D7 #D75035 #35D750
tetradic
#5035D7 #D7356B #BCD735 #35D7A1
square
#5035D7 #D7356B #BCD735 #35D7A1
split-complementary
#5035D7 #D7A135 #6BD735
monochromatic
#28187A #3922AD #5035D7 #7C68E1 #A99BEB

Accessibility & contrast

On white

7.42
#5035D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5035D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035D7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035D7#FFFFFF#000000##FFFFFF
##5035D71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5035d7;
/* rgb */ color: rgb(80, 53, 215);
/* oklch */ color: oklch(47.5% 0.230 280.7);
Tailwind
colors: {
  custom: {
    50: '#9170e5',
    500: '#5035d7',
    950: '#000000',
  },
}
SCSS
$custom: #5035d7;
$custom-light: #9170e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5035d7",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 215
  },
  "hsl": {
    "h": 250,
    "s": 66.942,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47524,
    "c": 0.2302,
    "h": 280.7
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#5035D7
secondary
#CBD791
accent
#EA3ECD
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5035D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5035D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva