#502EFF#502EFF

#502EFF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.9% C 0.279 H 277.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#502EFF
RGBrgb(80, 46, 255)
HSLhsl(250, 100%, 59%)
HSVhsv(250, 82%, 100%)
CMYKcmyk(68.6%, 82%, 0%, 0%)
CIE-LABlab(39.37, 69.84, -95.98)
CIE-LCHlch(39.37, 118.70, 306.04°)
OKLaboklab(50.89% 0.0349 -0.2773)
OKLCHoklch(50.89% 0.279 277.2)
XYZxyz(22.3294, 10.8774, 95.5111)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502EFF #DDFF2E
analogous
#2E75FF #502EFF #B92EFF
triadic
#502EFF #FF502E #2EFF50
tetradic
#502EFF #FF2E75 #DDFF2E #2EFFB9
square
#502EFF #FF2E75 #DDFF2E #2EFFB9
split-complementary
#502EFF #FFB92E #75FF2E
monochromatic
#1D00B3 #2700F0 #502EFF #836BFF #B6A8FF

Accessibility & contrast

On white

6.61
#502EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#502EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #502EFF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502EFF#FFFFFF#000000##FFFFFF
##502EFF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0054FC
Tritanopia (blue-blind)
#00729A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #502eff;
/* rgb */ color: rgb(80, 46, 255);
/* oklch */ color: oklch(50.9% 0.279 277.2);
Tailwind
colors: {
  custom: {
    50: '#996fff',
    500: '#502eff',
    950: '#000000',
  },
}
SCSS
$custom: #502eff;
$custom-light: #996fff;
$custom-dark: #000000;
JSON
{
  "hex": "#502eff",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 249.761,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.27948,
    "h": 277.2
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#502EFF
secondary
#E0ED9B
accent
#FF29DC
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #502EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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