#FA7AF8#FA7AF8

#FA7AF8 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.214 H 328.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#FA7AF8
RGBrgb(250, 122, 248)
HSLhsl(301, 93%, 73%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 51.2%, 0.8%, 2%)
CIE-LABlab(70.19, 65.18, -41.40)
CIE-LCHlch(70.19, 77.22, 327.58°)
OKLaboklab(77.01% 0.1819 -0.1137)
OKLCHoklch(77.01% 0.214 328)
XYZxyz(63.3262, 41.0241, 93.3716)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AF8 #7AFA7C
analogous
#BC7AFA #FA7AF8 #FA7AB8
triadic
#FA7AF8 #F8FA7A #7AF8FA
tetradic
#FA7AF8 #FABC7A #7AFA7C #7AB8FA
square
#FA7AF8 #FABC7A #7AFA7C #7AB8FA
split-complementary
#FA7AF8 #B8FA7A #7AFABC
monochromatic
#F109ED #F83FF5 #FA7AF8 #FCB5FB #FEE2FD

Accessibility & contrast

On white

2.28
#FA7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#FA7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AF8
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AF8#FFFFFF#000000##000000
##FA7AF81.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#96B2F4
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fa7af8;
/* rgb */ color: rgb(250, 122, 248);
/* oklch */ color: oklch(77.0% 0.214 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5fb',
    500: '#fa7af8',
    950: '#000000',
  },
}
SCSS
$custom: #fa7af8;
$custom-light: #ffa5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7af8",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 300.938,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.77014,
    "c": 0.21448,
    "h": 328
  },
  "luminance": 0.4102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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