#FD5AF2#FD5AF2

#FD5AF2 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.5% C 0.255 H 330.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#FD5AF2
RGBrgb(253, 90, 242)
HSLhsl(304, 98%, 67%)
HSVhsv(304, 64%, 99%)
CMYKcmyk(0%, 64.4%, 4.3%, 0.8%)
CIE-LABlab(65.44, 78.32, -45.52)
CIE-LCHlch(65.44, 90.59, 329.83°)
OKLaboklab(73.54% 0.2225 -0.1252)
OKLCHoklch(73.54% 0.255 330.6)
XYZxyz(60.1909, 34.6102, 87.4974)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD5AF2 #5AFD65
analogous
#B75AFD #FD5AF2 #FD5AA1
triadic
#FD5AF2 #F2FD5A #5AF2FD
tetradic
#FD5AF2 #FDB75A #5AFD65 #5AA1FD
square
#FD5AF2 #FDB75A #5AFD65 #5AA1FD
split-complementary
#FD5AF2 #A1FD5A #5AFDB7
monochromatic
#DA03CB #FC1EED #FD5AF2 #FE96F7 #FED3FC

Accessibility & contrast

On white

2.65
#FD5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#FD5AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD5AF2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD5AF2#FFFFFF#000000##000000
##FD5AF21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#FF6C9F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fd5af2;
/* rgb */ color: rgb(253, 90, 242);
/* oklch */ color: oklch(73.5% 0.255 330.6);
Tailwind
colors: {
  custom: {
    50: '#ff94f7',
    500: '#fd5af2',
    950: '#000000',
  },
}
SCSS
$custom: #fd5af2;
$custom-light: #ff94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fd5af2",
  "rgb": {
    "r": 253,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 304.049,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7354,
    "c": 0.25528,
    "h": 330.6
  },
  "luminance": 0.34606
}

Semantic roles & 50–950 ramp

primary
#FD5AF2
secondary
#C0F3C3
accent
#E60F00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FD5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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