#FF4FE2#FF4FE2

#FF4FE2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 72.0% C 0.258 H 335.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#FF4FE2
RGBrgb(255, 79, 226)
HSLhsl(310, 100%, 65%)
HSVhsv(310, 69%, 100%)
CMYKcmyk(0%, 69%, 11.4%, 0%)
CIE-LABlab(63.63, 80.29, -39.45)
CIE-LCHlch(63.63, 89.46, 333.84°)
OKLaboklab(72.05% 0.2344 -0.1076)
OKLCHoklch(72.05% 0.258 335.3)
XYZxyz(57.7641, 32.3480, 75.1383)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF4FE2 #4FFF6C
analogous
#C44FFF #FF4FE2 #FF4F8A
triadic
#FF4FE2 #E2FF4F #4FE2FF
tetradic
#FF4FE2 #FFC44F #4FFF6C #4F8AFF
square
#FF4FE2 #FFC44F #4FFF6C #4F8AFF
split-complementary
#FF4FE2 #8AFF4F #4FFFC4
monochromatic
#D400B1 #FF12D8 #FF4FE2 #FF8CEC #FFC9F6

Accessibility & contrast

On white

2.81
#FF4FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#FF4FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF4FE2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF4FE2#FFFFFF#000000##000000
##FF4FE21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#8CA3DE
Tritanopia (blue-blind)
#FF5C93
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff4fe2;
/* rgb */ color: rgb(255, 79, 226);
/* oklch */ color: oklch(72.0% 0.258 335.3);
Tailwind
colors: {
  custom: {
    50: '#ff8eeb',
    500: '#ff4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ff4fe2;
$custom-light: #ff8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff4fe2",
  "rgb": {
    "r": 255,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 309.886,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.25792,
    "h": 335.3
  },
  "luminance": 0.32343
}

Semantic roles & 50–950 ramp

primary
#FF4FE2
secondary
#B7F2C1
accent
#E62600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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