#FF4DF2#FF4DF2

#FF4DF2 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 72.7% C 0.271 H 331.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#FF4DF2
RGBrgb(255, 77, 242)
HSLhsl(304, 100%, 65%)
HSVhsv(304, 70%, 100%)
CMYKcmyk(0%, 69.8%, 5.1%, 0%)
CIE-LABlab(64.15, 83.27, -47.54)
CIE-LCHlch(64.15, 95.88, 330.27°)
OKLaboklab(72.66% 0.2375 -0.1309)
OKLCHoklch(72.66% 0.271 331.1)
XYZxyz(59.9208, 32.9833, 87.1977)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF4DF2 #4DFF5A
analogous
#B34DFF #FF4DF2 #FF4D99
triadic
#FF4DF2 #F2FF4D #4DF2FF
tetradic
#FF4DF2 #FFB34D #4DFF5A #4D99FF
square
#FF4DF2 #FFB34D #4DFF5A #4D99FF
split-complementary
#FF4DF2 #99FF4D #4DFFB3
monochromatic
#D200C2 #FF10EE #FF4DF2 #FF8AF6 #FFC7FB

Accessibility & contrast

On white

2.76
#FF4DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#FF4DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF4DF2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF4DF2#FFFFFF#000000##000000
##FF4DF21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#FF629B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ff4df2;
/* rgb */ color: rgb(255, 77, 242);
/* oklch */ color: oklch(72.7% 0.271 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff8ef7',
    500: '#ff4df2',
    950: '#000000',
  },
}
SCSS
$custom: #ff4df2;
$custom-light: #ff8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff4df2",
  "rgb": {
    "r": 255,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 304.382,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.27114,
    "h": 331.1
  },
  "luminance": 0.32979
}

Semantic roles & 50–950 ramp

primary
#FF4DF2
secondary
#B6F2BA
accent
#E61100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF4DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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