#FA7AFE#FA7AFE

#FA7AFE is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.3% C 0.220 H 326.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#FA7AFE
RGBrgb(250, 122, 254)
HSLhsl(298, 99%, 74%)
HSVhsv(298, 52%, 100%)
CMYKcmyk(1.6%, 52%, 0%, 0.4%)
CIE-LABlab(70.46, 66.21, -44.27)
CIE-LCHlch(70.46, 79.64, 326.23°)
OKLaboklab(77.3% 0.1827 -0.1219)
OKLCHoklch(77.3% 0.22 326.3)
XYZxyz(64.2720, 41.4024, 98.3528)
Luminance0.4140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AFE #7EFE7A
analogous
#B87AFE #FA7AFE #FE7AC0
triadic
#FA7AFE #FEFA7A #7AFEFA
tetradic
#FA7AFE #FEB87A #7EFE7A #7AC0FE
square
#FA7AFE #FEB87A #7EFE7A #7AC0FE
split-complementary
#FA7AFE #C0FE7A #7AFEB8
monochromatic
#F402FC #F83DFE #FA7AFE #FCB7FE #FEE1FF

Accessibility & contrast

On white

2.26
#FA7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#FA7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AFE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AFE#FFFFFF#000000##000000
##FA7AFE1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fa7afe;
/* rgb */ color: rgb(250, 122, 254);
/* oklch */ color: oklch(77.3% 0.220 326.3);
Tailwind
colors: {
  custom: {
    50: '#ffa5ff',
    500: '#fa7afe',
    950: '#000000',
  },
}
SCSS
$custom: #fa7afe;
$custom-light: #ffa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7afe",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 298.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77295,
    "c": 0.2196,
    "h": 326.3
  },
  "luminance": 0.41399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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