#F17BF2#F17BF2
#F17BF2 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.203 H 327.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F17BF2 |
|---|---|
| RGB | rgb(241, 123, 242) |
| HSL | hsl(299, 82%, 72%) |
| HSV | hsv(299, 49%, 95%) |
| CMYK | cmyk(0.4%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(68.95, 61.26, -40.13) |
| CIE-LCH | lch(68.95, 73.24, 326.77°) |
| OKLab | oklab(75.78% 0.1699 -0.1102) |
| OKLCH | oklch(75.78% 0.203 327) |
| XYZ | xyz(59.3845, 39.2807, 88.4412) |
| Luminance | 0.3928 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.54
Purply Pink
#F075E6
ΔE00 2.10
Candy Pink
#FF63E9
ΔE00 4.25
Light Magenta
#FA5FF7
ΔE00 4.40
Violet Pink
#FB5FFC
ΔE00 4.52
Lavender Pink
#DD85D7
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F17BF2 #7CF27B
analogous
#B67BF2 #F17BF2 #F27BB8
triadic
#F17BF2 #F2F17B #7BF2F1
tetradic
#F17BF2 #F2B67B #7CF27B #7BB8F2
square
#F17BF2 #F2B67B #7CF27B #7BB8F2
split-complementary
#F17BF2 #B8F27B #7BF2B6
monochromatic
#DB16DD #EB43ED #F17BF2 #F7B3F7 #FCE3FC
Accessibility & contrast
On white
2.37
#F17BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#F17BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F17BF2
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F17BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F17BF2 | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#F788AC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #f17bf2; /* rgb */ color: rgb(241, 123, 242); /* oklch */ color: oklch(75.8% 0.203 327.0);
Tailwind
colors: {
custom: {
50: '#f8a5f6',
500: '#f17bf2',
950: '#000000',
},
}SCSS
$custom: #f17bf2; $custom-light: #f8a5f6; $custom-dark: #000000;
JSON
{
"hex": "#f17bf2",
"rgb": {
"r": 241,
"g": 123,
"b": 242
},
"hsl": {
"h": 299.496,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.75775,
"c": 0.20251,
"h": 327
},
"luminance": 0.39277
}Semantic roles & 50–950 ramp
primary
#F17BF2
secondary
#D5F4D5
accent
#DE0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85