#FF7EFE#FF7EFE

#FF7EFE is a light, highly saturated purple. Relative luminance 0.433; OKLCH L 78.4% C 0.216 H 327.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#FF7EFE
RGBrgb(255, 126, 254)
HSLhsl(300, 100%, 75%)
HSVhsv(300, 51%, 100%)
CMYKcmyk(0%, 50.6%, 0.4%, 0%)
CIE-LABlab(71.79, 65.69, -42.14)
CIE-LCHlch(71.79, 78.05, 327.32°)
OKLaboklab(78.41% 0.1829 -0.1157)
OKLCHoklch(78.41% 0.216 327.7)
XYZxyz(66.5892, 43.3413, 98.6050)
Luminance0.4334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7EFE #7EFF7F
analogous
#C07EFF #FF7EFE #FF7EBE
triadic
#FF7EFE #FEFF7E #7EFEFF
tetradic
#FF7EFE #FFC07E #7EFF7F #7EBEFF
square
#FF7EFE #FFC07E #7EFF7F #7EBEFF
split-complementary
#FF7EFE #BEFF7E #7EFFC0
monochromatic
#FF04FD #FF41FE #FF7EFE #FFBBFE #FFE0FF

Accessibility & contrast

On white

2.17
#FF7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#FF7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7EFE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7EFE#FFFFFF#000000##000000
##FF7EFE1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#FF8CB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ff7efe;
/* rgb */ color: rgb(255, 126, 254);
/* oklch */ color: oklch(78.4% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8ff',
    500: '#ff7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ff7efe;
$custom-light: #ffa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7efe",
  "rgb": {
    "r": 255,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 300.465,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78407,
    "c": 0.21646,
    "h": 327.7
  },
  "luminance": 0.43337
}

Semantic roles & 50–950 ramp

primary
#FF7EFE
secondary
#D4F7D4
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FF7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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