#FF5EFE#FF5EFE

#FF5EFE is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.8% C 0.260 H 328.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#FF5EFE
RGBrgb(255, 94, 254)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 63%, 100%)
CMYKcmyk(0%, 63.1%, 0.4%, 0%)
CIE-LABlab(66.84, 79.17, -49.91)
CIE-LCHlch(66.84, 93.59, 327.77°)
OKLaboklab(74.8% 0.221 -0.1378)
OKLCHoklch(74.8% 0.26 328)
XYZxyz(63.1313, 36.4254, 97.4524)
Luminance0.3642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EFE #5EFF5F
analogous
#AF5EFF #FF5EFE #FF5EAD
triadic
#FF5EFE #FEFF5E #5EFEFF
tetradic
#FF5EFE #FFAF5E #5EFF5F #5EADFF
square
#FF5EFE #FFAF5E #5EFF5F #5EADFF
split-complementary
#FF5EFE #ADFF5E #5EFFAF
monochromatic
#E300E1 #FF21FE #FF5EFE #FF9BFE #FFD8FF

Accessibility & contrast

On white

2.53
#FF5EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#FF5EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EFE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EFE#FFFFFF#000000##000000
##FF5EFE1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#FF73A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ff5efe;
/* rgb */ color: rgb(255, 94, 254);
/* oklch */ color: oklch(74.8% 0.260 328.0);
Tailwind
colors: {
  custom: {
    50: '#ff96ff',
    500: '#ff5efe',
    950: '#000000',
  },
}
SCSS
$custom: #ff5efe;
$custom-light: #ff96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5efe",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 300.373,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74797,
    "c": 0.26048,
    "h": 328
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#FF5EFE
secondary
#C4F5C4
accent
#E60100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#FF5EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva