#5E02FE#5E02FE

#5E02FE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 49.6% C 0.293 H 282.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5E02FE
RGBrgb(94, 2, 254)
HSLhsl(262, 99%, 50%)
HSVhsv(262, 99%, 100%)
CMYKcmyk(63%, 99.2%, 0%, 0.4%)
CIE-LABlab(37.07, 80.64, -99.21)
CIE-LCHlch(37.07, 127.85, 309.11°)
OKLaboklab(49.6% 0.0654 -0.2858)
OKLCHoklch(49.6% 0.293 282.9)
XYZxyz(22.5216, 9.5772, 94.4085)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E02FE #A2FE02
analogous
#0224FE #5E02FE #DC02FE
triadic
#5E02FE #FE5E02 #02FE5E
tetradic
#5E02FE #FE0224 #A2FE02 #02FEDC
square
#5E02FE #FE0224 #A2FE02 #02FEDC
split-complementary
#5E02FE #FEDC02 #24FE02
monochromatic
#310185 #4701C2 #5E02FE #853FFE #AC7CFE

Accessibility & contrast

On white

7.20
#5E02FE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E02FE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E02FE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E02FE#FFFFFF#000000##FFFFFF
##5E02FE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EFF
Deuteranopia (green-blind)
#004FFA
Tritanopia (blue-blind)
#006895
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e02fe;
/* rgb */ color: rgb(94, 2, 254);
/* oklch */ color: oklch(49.6% 0.293 282.9);
Tailwind
colors: {
  custom: {
    50: '#a163ff',
    500: '#5e02fe',
    950: '#000000',
  },
}
SCSS
$custom: #5e02fe;
$custom-light: #a163ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e02fe",
  "rgb": {
    "r": 94,
    "g": 2,
    "b": 254
  },
  "hsl": {
    "h": 261.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.29321,
    "h": 282.9
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#5E02FE
secondary
#BDE676
accent
#FF29B1
background
#FBF6FF
surface
#F6EBFF
border
#D0C6D7
text
#110718
muted
#807A86

Preview Lab

Preview with #5E02FE

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

Preview Lab → · Contrast checker → · Palette generator →

#5E02FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva