#FA7AF5#FA7AF5

#FA7AF5 is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.9% C 0.212 H 328.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#FA7AF5
RGBrgb(250, 122, 245)
HSLhsl(302, 93%, 73%)
HSVhsv(302, 51%, 98%)
CMYKcmyk(0%, 51.2%, 2%, 2%)
CIE-LABlab(70.06, 64.68, -39.96)
CIE-LCHlch(70.06, 76.03, 328.29°)
OKLaboklab(76.88% 0.1815 -0.1095)
OKLCHoklch(76.88% 0.212 328.9)
XYZxyz(62.8645, 40.8394, 90.9401)
Luminance0.4084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AF5 #7AFA7F
analogous
#BF7AFA #FA7AF5 #FA7AB5
triadic
#FA7AF5 #F5FA7A #7AF5FA
tetradic
#FA7AF5 #FABF7A #7AFA7F #7AB5FA
square
#FA7AF5 #FABF7A #7AFA7F #7AB5FA
split-complementary
#FA7AF5 #B5FA7A #7AFABF
monochromatic
#F109E8 #F83FF1 #FA7AF5 #FCB5F9 #FEE2FD

Accessibility & contrast

On white

2.29
#FA7AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#FA7AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AF5
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AF5#FFFFFF#000000##000000
##FA7AF51.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fa7af5;
/* rgb */ color: rgb(250, 122, 245);
/* oklch */ color: oklch(76.9% 0.212 328.9);
Tailwind
colors: {
  custom: {
    50: '#ffa5f9',
    500: '#fa7af5',
    950: '#000000',
  },
}
SCSS
$custom: #fa7af5;
$custom-light: #ffa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7af5",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 302.344,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.21195,
    "h": 328.9
  },
  "luminance": 0.40836
}

Semantic roles & 50–950 ramp

primary
#FA7AF5
secondary
#D5F6D6
accent
#E60900
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FA7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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