#F798F2#F798F2
#F798F2 is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.6% C 0.159 H 328.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F798F2 |
|---|---|
| RGB | rgb(247, 152, 242) |
| HSL | hsl(303, 86%, 78%) |
| HSV | hsv(303, 38%, 97%) |
| CMYK | cmyk(0%, 38.5%, 2%, 3.1%) |
| CIE-LAB | lab(75.23, 48.66, -30.35) |
| CIE-LCH | lch(75.23, 57.35, 328.05°) |
| OKLab | oklab(80.61% 0.1362 -0.0825) |
| OKLCH | oklch(80.61% 0.159 328.8) |
| XYZ | xyz(65.6120, 48.6445, 89.9205) |
| Luminance | 0.4864 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.96
Plum
#DDA0DD
ΔE00 5.93
Lavender Pink
#DD85D7
ΔE00 6.13
Purply Pink
#F075E6
ΔE00 7.13
Bubblegum Pink
#FE83CC
ΔE00 7.84
Mauve
#E0B0FF
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F798F2 #98F79D
analogous
#CC98F7 #F798F2 #F798C2
triadic
#F798F2 #F2F798 #98F2F7
tetradic
#F798F2 #F7CC98 #98F79D #98C2F7
square
#F798F2 #F7CC98 #98F79D #98C2F7
split-complementary
#F798F2 #C2F798 #98F7CC
monochromatic
#EE26E4 #F35FEB #F798F2 #FBD1F9 #FDE3FB
Accessibility & contrast
On white
1.96
#F798F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#F798F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F798F2
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F798F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F798F2 | 1.00 | 1.96 | 10.73 | 10.73 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#ABBEEF
Tritanopia (blue-blind)
#FDA0BA
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #f798f2; /* rgb */ color: rgb(247, 152, 242); /* oklch */ color: oklch(80.6% 0.159 328.8);
Tailwind
colors: {
custom: {
50: '#fbb8f6',
500: '#f798f2',
950: '#000000',
},
}SCSS
$custom: #f798f2; $custom-light: #fbb8f6; $custom-dark: #000000;
JSON
{
"hex": "#f798f2",
"rgb": {
"r": 247,
"g": 152,
"b": 242
},
"hsl": {
"h": 303.158,
"s": 85.586,
"l": 78.235
},
"oklch": {
"l": 0.80607,
"c": 0.15922,
"h": 328.8
},
"luminance": 0.48641
}Semantic roles & 50–950 ramp
primary
#F798F2
secondary
#D6F5D8
accent
#E20F03
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085