#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 |
|---|---|
| RGB | rgb(250, 122, 254) |
| HSL | hsl(298, 99%, 74%) |
| HSV | hsv(298, 52%, 100%) |
| CMYK | cmyk(1.6%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(70.46, 66.21, -44.27) |
| CIE-LCH | lch(70.46, 79.64, 326.23°) |
| OKLab | oklab(77.3% 0.1827 -0.1219) |
| OKLCH | oklch(77.3% 0.22 326.3) |
| XYZ | xyz(64.2720, 41.4024, 98.3528) |
| Luminance | 0.4140 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.95
Purply Pink
#F075E6
ΔE00 3.65
Violet Pink
#FB5FFC
ΔE00 4.20
Light Magenta
#FA5FF7
ΔE00 4.33
Candy Pink
#FF63E9
ΔE00 4.67
Lavender Pink
#DD85D7
ΔE00 7.08
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 |
|---|---|---|---|---|
| ##FA7AFE | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.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