#FA7AFD#FA7AFD

#FA7AFD is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.219 H 326.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FA7AFD
RGBrgb(250, 122, 253)
HSLhsl(299, 97%, 74%)
HSVhsv(299, 52%, 99%)
CMYKcmyk(1.2%, 51.8%, 0%, 0.8%)
CIE-LABlab(70.41, 66.03, -43.79)
CIE-LCHlch(70.41, 79.24, 326.45°)
OKLaboklab(77.25% 0.1826 -0.1205)
OKLCHoklch(77.25% 0.219 326.6)
XYZxyz(64.1123, 41.3385, 97.5116)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AFD #7DFD7A
analogous
#B87AFD #FA7AFD #FD7ABE
triadic
#FA7AFD #FDFA7A #7AFDFA
tetradic
#FA7AFD #FDB87A #7DFD7A #7ABEFD
square
#FA7AFD #FDB87A #7DFD7A #7ABEFD
split-complementary
#FA7AFD #BEFD7A #7AFDB8
monochromatic
#F304F9 #F83EFC #FA7AFD #FCB6FE #FEE1FF

Accessibility & contrast

On white

2.27
#FA7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FA7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AFD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AFD#FFFFFF#000000##000000
##FA7AFD1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fa7afd;
/* rgb */ color: rgb(250, 122, 253);
/* oklch */ color: oklch(77.2% 0.219 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5fe',
    500: '#fa7afd',
    950: '#000000',
  },
}
SCSS
$custom: #fa7afd;
$custom-light: #ffa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7afd",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 298.626,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77248,
    "c": 0.21875,
    "h": 326.6
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

primary
#FA7AFD
secondary
#D5F7D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FA7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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