#F17AFE#F17AFE
#F17AFE is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.215 H 323.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F17AFE |
|---|---|
| RGB | rgb(241, 122, 254) |
| HSL | hsl(294, 99%, 74%) |
| HSV | hsv(294, 52%, 100%) |
| CMYK | cmyk(5.1%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(69.31, 63.85, -46.15) |
| CIE-LCH | lch(69.31, 78.78, 324.14°) |
| OKLab | oklab(76.21% 0.1728 -0.1275) |
| OKLCH | oklch(76.21% 0.215 323.6) |
| XYZ | xyz(61.1229, 39.7786, 98.2052) |
| Luminance | 0.3978 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.11
Purply Pink
#F075E6
ΔE00 3.86
Violet Pink
#FB5FFC
ΔE00 4.09
Light Magenta
#FA5FF7
ΔE00 4.27
Candy Pink
#FF63E9
ΔE00 5.23
Orchid
#DA70D6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17AFE #87FE7A
analogous
#AF7AFE #F17AFE #FE7AC9
triadic
#F17AFE #FEF17A #7AFEF1
tetradic
#F17AFE #FEAF7A #87FE7A #7AC9FE
square
#F17AFE #FEAF7A #87FE7A #7AC9FE
split-complementary
#F17AFE #C9FE7A #7AFEAF
monochromatic
#E302FC #EB3DFE #F17AFE #F7B7FE #FCE1FF
Accessibility & contrast
On white
2.35
#F17AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#F17AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17AFE
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17AFE | 1.00 | 2.35 | 8.96 | 8.96 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#F58BB1
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #f17afe; /* rgb */ color: rgb(241, 122, 254); /* oklch */ color: oklch(76.2% 0.215 323.6);
Tailwind
colors: {
custom: {
50: '#f8a5ff',
500: '#f17afe',
950: '#000000',
},
}SCSS
$custom: #f17afe; $custom-light: #f8a5ff; $custom-dark: #000000;
JSON
{
"hex": "#f17afe",
"rgb": {
"r": 241,
"g": 122,
"b": 254
},
"hsl": {
"h": 294.091,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.76213,
"c": 0.21473,
"h": 323.6
},
"luminance": 0.39776
}Semantic roles & 50–950 ramp
primary
#F17AFE
secondary
#D7F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86