#FF4CF2#FF4CF2

#FF4CF2 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 72.6% C 0.272 H 331.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#FF4CF2
RGBrgb(255, 76, 242)
HSLhsl(304, 100%, 65%)
HSVhsv(304, 70%, 100%)
CMYKcmyk(0%, 70.2%, 5.1%, 0%)
CIE-LABlab(64.03, 83.59, -47.72)
CIE-LCHlch(64.03, 96.25, 330.28°)
OKLaboklab(72.58% 0.2384 -0.1314)
OKLCHoklch(72.58% 0.272 331.1)
XYZxyz(59.8514, 32.8444, 87.1745)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF4CF2 #4CFF59
analogous
#B34CFF #FF4CF2 #FF4C98
triadic
#FF4CF2 #F2FF4C #4CF2FF
tetradic
#FF4CF2 #FFB34C #4CFF59 #4C98FF
square
#FF4CF2 #FFB34C #4CFF59 #4C98FF
split-complementary
#FF4CF2 #98FF4C #4CFFB3
monochromatic
#D100C1 #FF0FEE #FF4CF2 #FF89F6 #FFC6FB

Accessibility & contrast

On white

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

On black

7.57
#FF4CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF4CF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF4CF2#FFFFFF#000000##000000
##FF4CF21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff4cf2;
/* rgb */ color: rgb(255, 76, 242);
/* oklch */ color: oklch(72.6% 0.272 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff8df7',
    500: '#ff4cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ff4cf2;
$custom-light: #ff8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff4cf2",
  "rgb": {
    "r": 255,
    "g": 76,
    "b": 242
  },
  "hsl": {
    "h": 304.358,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.72581,
    "c": 0.27219,
    "h": 331.1
  },
  "luminance": 0.3284
}

Semantic roles & 50–950 ramp

primary
#FF4CF2
secondary
#B5F2B9
accent
#E61100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190D17
muted
#877E85

Preview Lab

Preview with #FF4CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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