#502FFE#502FFE

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

Color values

HEX#502FFE
RGBrgb(80, 47, 254)
HSLhsl(250, 99%, 59%)
HSVhsv(250, 81%, 100%)
CMYKcmyk(68.5%, 81.5%, 0%, 0.4%)
CIE-LABlab(39.40, 69.18, -95.38)
CIE-LCHlch(39.40, 117.82, 305.95°)
OKLaboklab(50.88% 0.0348 -0.2756)
OKLCHoklch(50.88% 0.278 277.2)
XYZxyz(22.2084, 10.8922, 94.6788)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502FFE #DDFE2F
analogous
#2F76FE #502FFE #B72FFE
triadic
#502FFE #FE502F #2FFE50
tetradic
#502FFE #FE2F76 #DDFE2F #2FFEB7
square
#502FFE #FE2F76 #DDFE2F #2FFEB7
split-complementary
#502FFE #FEB72F #76FE2F
monochromatic
#1D01B2 #2701EF #502FFE #836CFE #B6A9FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##502FFE#FFFFFF#000000##FFFFFF
##502FFE1.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)
#0054FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #502ffe;
/* rgb */ color: rgb(80, 47, 254);
/* oklch */ color: oklch(50.9% 0.278 277.2);
Tailwind
colors: {
  custom: {
    50: '#996fff',
    500: '#502ffe',
    950: '#000000',
  },
}
SCSS
$custom: #502ffe;
$custom-light: #996fff;
$custom-dark: #000000;
JSON
{
  "hex": "#502ffe",
  "rgb": {
    "r": 80,
    "g": 47,
    "b": 254
  },
  "hsl": {
    "h": 249.565,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.27776,
    "h": 277.2
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#502FFE
secondary
#E0ED9C
accent
#FF29DD
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #502FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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