#FD7AFB#FD7AFB

#FD7AFB is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.219 H 328.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#FD7AFB
RGBrgb(253, 122, 251)
HSLhsl(301, 97%, 74%)
HSVhsv(301, 52%, 99%)
CMYKcmyk(0%, 51.8%, 0.8%, 0.8%)
CIE-LABlab(70.71, 66.48, -42.20)
CIE-LCHlch(70.71, 78.75, 327.59°)
OKLaboklab(77.52% 0.1855 -0.1159)
OKLCHoklch(77.52% 0.219 328)
XYZxyz(64.8792, 41.7706, 95.8933)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD7AFB #7AFD7C
analogous
#BD7AFD #FD7AFB #FD7AB9
triadic
#FD7AFB #FBFD7A #7AFBFD
tetradic
#FD7AFB #FDBD7A #7AFD7C #7AB9FD
square
#FD7AFB #FDBD7A #7AFD7C #7AB9FD
split-complementary
#FD7AFB #B9FD7A #7AFDBD
monochromatic
#F904F5 #FC3EF9 #FD7AFB #FEB6FD #FFE1FE

Accessibility & contrast

On white

2.25
#FD7AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#FD7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD7AFB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD7AFB#FFFFFF#000000##000000
##FD7AFB1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#FF88B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fd7afb;
/* rgb */ color: rgb(253, 122, 251);
/* oklch */ color: oklch(77.5% 0.219 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#fd7afb',
    950: '#000000',
  },
}
SCSS
$custom: #fd7afb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fd7afb",
  "rgb": {
    "r": 253,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 300.916,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7752,
    "c": 0.21876,
    "h": 328
  },
  "luminance": 0.41767
}

Semantic roles & 50–950 ramp

primary
#FD7AFB
secondary
#D4F7D5
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FD7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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