#FF4CFB#FF4CFB

#FF4CFB is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 73.0% C 0.279 H 328.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#FF4CFB
RGBrgb(255, 76, 251)
HSLhsl(301, 100%, 65%)
HSVhsv(301, 70%, 100%)
CMYKcmyk(0%, 70.2%, 1.6%, 0%)
CIE-LABlab(64.48, 84.94, -51.99)
CIE-LCHlch(64.48, 99.59, 328.53°)
OKLaboklab(73.05% 0.2386 -0.1438)
OKLCHoklch(73.05% 0.279 328.9)
XYZxyz(61.2365, 33.3985, 94.4693)
Luminance0.3339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF4CFB #4CFF50
analogous
#AA4CFF #FF4CFB #FF4CA1
triadic
#FF4CFB #FBFF4C #4CFBFF
tetradic
#FF4CFB #FFAA4C #4CFF50 #4CA1FF
square
#FF4CFB #FFAA4C #4CFF50 #4CA1FF
split-complementary
#FF4CFB #A1FF4C #4CFFAA
monochromatic
#D100CC #FF0FFA #FF4CFB #FF89FC #FFC6FE

Accessibility & contrast

On white

2.73
#FF4CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#FF4CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF4CFB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF4CFB#FFFFFF#000000##000000
##FF4CFB1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#FF659F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff4cfb;
/* rgb */ color: rgb(255, 76, 251);
/* oklch */ color: oklch(73.0% 0.279 328.9);
Tailwind
colors: {
  custom: {
    50: '#ff8efd',
    500: '#ff4cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff4cfb;
$custom-light: #ff8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff4cfb",
  "rgb": {
    "r": 255,
    "g": 76,
    "b": 251
  },
  "hsl": {
    "h": 301.341,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.27858,
    "h": 328.9
  },
  "luminance": 0.33394
}

Semantic roles & 50–950 ramp

primary
#FF4CFB
secondary
#B5F2B6
accent
#E60500
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF4CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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