#FE40FF#FE40FF

#FE40FF is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 72.2% C 0.292 H 327.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#FE40FF
RGBrgb(254, 64, 255)
HSLhsl(300, 100%, 63%)
HSVhsv(300, 75%, 100%)
CMYKcmyk(0.4%, 74.9%, 0%, 0%)
CIE-LABlab(63.31, 88.85, -56.07)
CIE-LCHlch(63.31, 105.06, 327.75°)
OKLaboklab(72.25% 0.2476 -0.1555)
OKLCHoklch(72.25% 0.292 327.9)
XYZxyz(60.7557, 31.9621, 97.5577)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE40FF #41FF40
analogous
#9F40FF #FE40FF #FF40A0
triadic
#FE40FF #FFFE40 #40FFFE
tetradic
#FE40FF #FF9F40 #41FF40 #40A0FF
square
#FE40FF #FF9F40 #41FF40 #40A0FF
split-complementary
#FE40FF #A0FF40 #40FF9F
monochromatic
#C400C5 #FE03FF #FE40FF #FE7DFF #FFBAFF

Accessibility & contrast

On white

2.84
#FE40FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#FE40FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE40FF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE40FF#FFFFFF#000000##000000
##FE40FF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#008AFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#FF609E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fe40ff;
/* rgb */ color: rgb(254, 64, 255);
/* oklch */ color: oklch(72.2% 0.292 327.9);
Tailwind
colors: {
  custom: {
    50: '#ff89ff',
    500: '#fe40ff',
    950: '#000000',
  },
}
SCSS
$custom: #fe40ff;
$custom-light: #ff89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe40ff",
  "rgb": {
    "r": 254,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 299.686,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.72248,
    "c": 0.29237,
    "h": 327.9
  },
  "luminance": 0.31958
}

Semantic roles & 50–950 ramp

primary
#FE40FF
secondary
#ABF0AB
accent
#E60001
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#190D18
muted
#877E86

Preview Lab

Preview with #FE40FF

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

Preview Lab → · Contrast checker → · Palette generator →

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