#FA7AF6#FA7AF6

#FA7AF6 is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.213 H 328.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FA7AF6
RGBrgb(250, 122, 246)
HSLhsl(302, 93%, 73%)
HSVhsv(302, 51%, 98%)
CMYKcmyk(0%, 51.2%, 1.6%, 2%)
CIE-LABlab(70.11, 64.84, -40.44)
CIE-LCHlch(70.11, 76.42, 328.05°)
OKLaboklab(76.92% 0.1816 -0.1109)
OKLCHoklch(76.92% 0.213 328.6)
XYZxyz(63.0176, 40.9006, 91.7463)
Luminance0.4090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AF6 #7AFA7E
analogous
#BE7AFA #FA7AF6 #FA7AB6
triadic
#FA7AF6 #F6FA7A #7AF6FA
tetradic
#FA7AF6 #FABE7A #7AFA7E #7AB6FA
square
#FA7AF6 #FABE7A #7AFA7E #7AB6FA
split-complementary
#FA7AF6 #B6FA7A #7AFABE
monochromatic
#F109E9 #F83FF2 #FA7AF6 #FCB5FA #FEE2FD

Accessibility & contrast

On white

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

On black

9.18
#FA7AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AF6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AF6#FFFFFF#000000##000000
##FA7AF61.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa7af6;
/* rgb */ color: rgb(250, 122, 246);
/* oklch */ color: oklch(76.9% 0.213 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5f9',
    500: '#fa7af6',
    950: '#000000',
  },
}
SCSS
$custom: #fa7af6;
$custom-light: #ffa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7af6",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 301.875,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76922,
    "c": 0.21279,
    "h": 328.6
  },
  "luminance": 0.40897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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