#502FE0#502FE0

#502FE0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.245 H 280.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#502FE0
RGBrgb(80, 47, 224)
HSLhsl(251, 74%, 53%)
HSVhsv(251, 79%, 88%)
CMYKcmyk(64.3%, 79%, 0%, 12.2%)
CIE-LABlab(36.21, 60.88, -83.68)
CIE-LCHlch(36.21, 103.48, 306.04°)
OKLaboklab(47.74% 0.0435 -0.2416)
OKLCHoklch(47.74% 0.245 280.2)
XYZxyz(17.7751, 9.1189, 71.3300)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502FE0 #BFE02F
analogous
#2F67E0 #502FE0 #A82FE0
triadic
#502FE0 #E0502F #2FE050
tetradic
#502FE0 #E02F67 #BFE02F #2FE0A8
square
#502FE0 #E02F67 #BFE02F #2FE0A8
split-complementary
#502FE0 #E0A82F #67E02F
monochromatic
#281381 #381BB7 #502FE0 #7D64E8 #AA9AF0

Accessibility & contrast

On white

7.44
#502FE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#502FE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502FE0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502FE0#FFFFFF#000000##FFFFFF
##502FE01.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE5
Deuteranopia (green-blind)
#004EDD
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #502fe0;
/* rgb */ color: rgb(80, 47, 224);
/* oklch */ color: oklch(47.7% 0.245 280.2);
Tailwind
colors: {
  custom: {
    50: '#936deb',
    500: '#502fe0',
    950: '#000000',
  },
}
SCSS
$custom: #502fe0;
$custom-light: #936deb;
$custom-dark: #000000;
JSON
{
  "hex": "#502fe0",
  "rgb": {
    "r": 80,
    "g": 47,
    "b": 224
  },
  "hsl": {
    "h": 251.186,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.24544,
    "h": 280.2
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#502FE0
secondary
#CDDC8F
accent
#F137CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #502FE0

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

Preview Lab → · Contrast checker → · Palette generator →

#502FE0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva