#F17AF2#F17AF2
#F17AF2 is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.204 H 327.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F17AF2 |
|---|---|
| RGB | rgb(241, 122, 242) |
| HSL | hsl(300, 82%, 71%) |
| HSV | hsv(300, 50%, 95%) |
| CMYK | cmyk(0.4%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(68.78, 61.74, -40.41) |
| CIE-LCH | lch(68.78, 73.79, 326.79°) |
| OKLab | oklab(75.64% 0.1712 -0.111) |
| OKLCH | oklch(75.64% 0.204 327) |
| XYZ | xyz(59.2611, 39.0339, 88.4000) |
| Luminance | 0.3903 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.71
Purply Pink
#F075E6
ΔE00 2.03
Candy Pink
#FF63E9
ΔE00 4.12
Light Magenta
#FA5FF7
ΔE00 4.22
Violet Pink
#FB5FFC
ΔE00 4.35
Orchid
#DA70D6
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17AF2 #7BF27A
analogous
#B57AF2 #F17AF2 #F27AB7
triadic
#F17AF2 #F2F17A #7AF2F1
tetradic
#F17AF2 #F2B57A #7BF27A #7AB7F2
square
#F17AF2 #F2B57A #7BF27A #7AB7F2
split-complementary
#F17AF2 #B7F27A #7AF2B5
monochromatic
#DA16DC #EB42ED #F17AF2 #F7B2F7 #FCE3FC
Accessibility & contrast
On white
2.38
#F17AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#F17AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17AF2
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17AF2 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F787AB
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #f17af2; /* rgb */ color: rgb(241, 122, 242); /* oklch */ color: oklch(75.6% 0.204 327.0);
Tailwind
colors: {
custom: {
50: '#f8a5f6',
500: '#f17af2',
950: '#000000',
},
}SCSS
$custom: #f17af2; $custom-light: #f8a5f6; $custom-dark: #000000;
JSON
{
"hex": "#f17af2",
"rgb": {
"r": 241,
"g": 122,
"b": 242
},
"hsl": {
"h": 299.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.75643,
"c": 0.20406,
"h": 327
},
"luminance": 0.39031
}Semantic roles & 50–950 ramp
primary
#F17AF2
secondary
#D5F3D4
accent
#DF0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85