#502EE3#502EE3

#502EE3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.250 H 279.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#502EE3
RGBrgb(80, 46, 227)
HSLhsl(251, 76%, 54%)
HSVhsv(251, 80%, 89%)
CMYKcmyk(64.8%, 79.7%, 0%, 11%)
CIE-LABlab(36.37, 62.16, -85.13)
CIE-LCHlch(36.37, 105.40, 306.14°)
OKLaboklab(47.95% 0.0431 -0.2458)
OKLCHoklch(47.95% 0.25 279.9)
XYZxyz(18.1460, 9.2040, 73.4785)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502EE3 #C1E32E
analogous
#2E66E3 #502EE3 #AA2EE3
triadic
#502EE3 #E3502E #2EE350
tetradic
#502EE3 #E32E66 #C1E32E #2EE3AA
square
#502EE3 #E32E66 #C1E32E #2EE3AA
split-complementary
#502EE3 #E3AA2E #66E32E
monochromatic
#271285 #3719BB #502EE3 #7D64EA #AA9AF1

Accessibility & contrast

On white

7.39
#502EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#502EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502EE3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502EE3#FFFFFF#000000##FFFFFF
##502EE31.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004FE0
Tritanopia (blue-blind)
#00668A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #502ee3;
/* rgb */ color: rgb(80, 46, 227);
/* oklch */ color: oklch(47.9% 0.250 279.9);
Tailwind
colors: {
  custom: {
    50: '#946ded',
    500: '#502ee3',
    950: '#000000',
  },
}
SCSS
$custom: #502ee3;
$custom-light: #946ded;
$custom-dark: #000000;
JSON
{
  "hex": "#502ee3",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 251.271,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.24951,
    "h": 279.9
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#502EE3
secondary
#CFDD90
accent
#F335CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #502EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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