#FF4FEC#FF4FEC

#FF4FEC is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 72.5% C 0.265 H 332.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#FF4FEC
RGBrgb(255, 79, 236)
HSLhsl(306, 100%, 65%)
HSVhsv(306, 69%, 100%)
CMYKcmyk(0%, 69%, 7.5%, 0%)
CIE-LABlab(64.09, 81.73, -44.30)
CIE-LCHlch(64.09, 92.96, 331.54°)
OKLaboklab(72.53% 0.2352 -0.1215)
OKLCHoklch(72.53% 0.265 332.7)
XYZxyz(59.1765, 32.9129, 82.5767)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF4FEC #4FFF62
analogous
#BA4FFF #FF4FEC #FF4F94
triadic
#FF4FEC #ECFF4F #4FECFF
tetradic
#FF4FEC #FFBA4F #4FFF62 #4F94FF
square
#FF4FEC #FFBA4F #4FFF62 #4F94FF
split-complementary
#FF4FEC #94FF4F #4FFFBA
monochromatic
#D400BD #FF12E5 #FF4FEC #FF8CF3 #FFC9F9

Accessibility & contrast

On white

2.77
#FF4FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#FF4FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF4FEC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF4FEC#FFFFFF#000000##000000
##FF4FEC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#FF6098
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ff4fec;
/* rgb */ color: rgb(255, 79, 236);
/* oklch */ color: oklch(72.5% 0.265 332.7);
Tailwind
colors: {
  custom: {
    50: '#ff8ef2',
    500: '#ff4fec',
    950: '#000000',
  },
}
SCSS
$custom: #ff4fec;
$custom-light: #ff8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff4fec",
  "rgb": {
    "r": 255,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 306.477,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.26477,
    "h": 332.7
  },
  "luminance": 0.32908
}

Semantic roles & 50–950 ramp

primary
#FF4FEC
secondary
#B7F2BE
accent
#E61900
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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