#FF40FE#FF40FE

#FF40FE is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 72.3% C 0.292 H 328.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#FF40FE
RGBrgb(255, 64, 254)
HSLhsl(300, 100%, 63%)
HSVhsv(300, 75%, 100%)
CMYKcmyk(0%, 74.9%, 0.4%, 0%)
CIE-LABlab(63.41, 88.89, -55.34)
CIE-LCHlch(63.41, 104.71, 328.10°)
OKLaboklab(72.33% 0.2486 -0.1534)
OKLCHoklch(72.33% 0.292 328.3)
XYZxyz(60.9621, 32.0871, 96.7293)
Luminance0.3208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF40FE #40FF41
analogous
#A040FF #FF40FE #FF409F
triadic
#FF40FE #FEFF40 #40FEFF
tetradic
#FF40FE #FFA040 #40FF41 #409FFF
square
#FF40FE #FFA040 #40FF41 #409FFF
split-complementary
#FF40FE #9FFF40 #40FFA0
monochromatic
#C500C4 #FF03FE #FF40FE #FF7DFE #FFBAFF

Accessibility & contrast

On white

2.83
#FF40FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#FF40FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF40FE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF40FE#FFFFFF#000000##000000
##FF40FE1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B8AFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#FF5F9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ff40fe;
/* rgb */ color: rgb(255, 64, 254);
/* oklch */ color: oklch(72.3% 0.292 328.3);
Tailwind
colors: {
  custom: {
    50: '#ff89ff',
    500: '#ff40fe',
    950: '#000000',
  },
}
SCSS
$custom: #ff40fe;
$custom-light: #ff89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff40fe",
  "rgb": {
    "r": 255,
    "g": 64,
    "b": 254
  },
  "hsl": {
    "h": 300.314,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.72334,
    "c": 0.29209,
    "h": 328.3
  },
  "luminance": 0.32083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF40FE

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

Preview Lab → · Contrast checker → · Palette generator →

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