#FA7AFA#FA7AFA

#FA7AFA is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.1% C 0.216 H 327.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#FA7AFA
RGBrgb(250, 122, 250)
HSLhsl(300, 93%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0%, 51.2%, 0%, 2%)
CIE-LABlab(70.28, 65.52, -42.36)
CIE-LCHlch(70.28, 78.02, 327.12°)
OKLaboklab(77.11% 0.1822 -0.1164)
OKLCHoklch(77.11% 0.216 327.4)
XYZxyz(63.6381, 41.1488, 95.0145)
Luminance0.4114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AFA #7AFA7A
analogous
#BA7AFA #FA7AFA #FA7ABA
triadic
#FA7AFA #FAFA7A #7AFAFA
tetradic
#FA7AFA #FABA7A #7AFA7A #7ABAFA
square
#FA7AFA #FABA7A #7AFA7A #7ABAFA
split-complementary
#FA7AFA #BAFA7A #7AFABA
monochromatic
#F109F1 #F83FF8 #FA7AFA #FCB5FC #FEE2FE

Accessibility & contrast

On white

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

On black

9.23
#FA7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AFA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AFA#FFFFFF#000000##000000
##FA7AFA1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#95B2F6
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fa7afa;
/* rgb */ color: rgb(250, 122, 250);
/* oklch */ color: oklch(77.1% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa5fc',
    500: '#fa7afa',
    950: '#000000',
  },
}
SCSS
$custom: #fa7afa;
$custom-light: #ffa5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7afa",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 300,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.77107,
    "c": 0.21618,
    "h": 327.4
  },
  "luminance": 0.41145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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