#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 |
|---|---|
| RGB | rgb(250, 122, 248) |
| HSL | hsl(301, 93%, 73%) |
| HSV | hsv(301, 51%, 98%) |
| CMYK | cmyk(0%, 51.2%, 0.8%, 2%) |
| CIE-LAB | lab(70.19, 65.18, -41.40) |
| CIE-LCH | lch(70.19, 77.22, 327.58°) |
| OKLab | oklab(77.01% 0.1819 -0.1137) |
| OKLCH | oklch(77.01% 0.214 328) |
| XYZ | xyz(63.3262, 41.0241, 93.3716) |
| Luminance | 0.4102 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.39
Purply Pink
#F075E6
ΔE00 2.88
Candy Pink
#FF63E9
ΔE00 4.12
Light Magenta
#FA5FF7
ΔE00 4.34
Violet Pink
#FB5FFC
ΔE00 4.36
Lavender Pink
#DD85D7
ΔE00 6.42
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 |
|---|---|---|---|---|
| ##FA7AF8 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.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