#FD7AFE#FD7AFE

#FD7AFE is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.7% C 0.221 H 327.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FD7AFE
RGBrgb(253, 122, 254)
HSLhsl(300, 99%, 74%)
HSVhsv(300, 52%, 100%)
CMYKcmyk(0.4%, 52%, 0%, 0.4%)
CIE-LABlab(70.84, 66.99, -43.63)
CIE-LCHlch(70.84, 79.95, 326.92°)
OKLaboklab(77.66% 0.1859 -0.12)
OKLCHoklch(77.66% 0.221 327.2)
XYZxyz(65.3558, 41.9612, 98.4036)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD7AFE #7BFE7A
analogous
#BB7AFE #FD7AFE #FE7ABD
triadic
#FD7AFE #FEFD7A #7AFEFD
tetradic
#FD7AFE #FEBB7A #7BFE7A #7ABDFE
square
#FD7AFE #FEBB7A #7BFE7A #7ABDFE
split-complementary
#FD7AFE #BDFE7A #7AFEBB
monochromatic
#FA02FC #FC3DFE #FD7AFE #FEB7FE #FFE1FF

Accessibility & contrast

On white

2.24
#FD7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#FD7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD7AFE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD7AFE#FFFFFF#000000##000000
##FD7AFE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fd7afe;
/* rgb */ color: rgb(253, 122, 254);
/* oklch */ color: oklch(77.7% 0.221 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fd7afe',
    950: '#000000',
  },
}
SCSS
$custom: #fd7afe;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fd7afe",
  "rgb": {
    "r": 253,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 299.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.22129,
    "h": 327.2
  },
  "luminance": 0.41957
}

Semantic roles & 50–950 ramp

primary
#FD7AFE
secondary
#D4F7D4
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FD7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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