#FA7AFC#FA7AFC

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

Color values

HEX#FA7AFC
RGBrgb(250, 122, 252)
HSLhsl(299, 96%, 73%)
HSVhsv(299, 52%, 99%)
CMYKcmyk(0.8%, 51.6%, 0%, 1.2%)
CIE-LABlab(70.37, 65.86, -43.32)
CIE-LCHlch(70.37, 78.83, 326.67°)
OKLaboklab(77.2% 0.1824 -0.1191)
OKLCHoklch(77.2% 0.218 326.8)
XYZxyz(63.9534, 41.2749, 96.6749)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AFC #7CFC7A
analogous
#B97AFC #FA7AFC #FC7ABD
triadic
#FA7AFC #FCFA7A #7AFCFA
tetradic
#FA7AFC #FCB97A #7CFC7A #7ABDFC
square
#FA7AFC #FCB97A #7CFC7A #7ABDFC
split-complementary
#FA7AFC #BDFC7A #7AFCB9
monochromatic
#F206F6 #F83EFB #FA7AFC #FCB6FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.25
#FA7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AFC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AFC#FFFFFF#000000##000000
##FA7AFC1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa7afc;
/* rgb */ color: rgb(250, 122, 252);
/* oklch */ color: oklch(77.2% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa5fe',
    500: '#fa7afc',
    950: '#000000',
  },
}
SCSS
$custom: #fa7afc;
$custom-light: #ffa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7afc",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 299.077,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77201,
    "c": 0.21788,
    "h": 326.8
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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