#F786F2#F786F2
#F786F2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 78.0% C 0.189 H 328.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F786F2 |
|---|---|
| RGB | rgb(247, 134, 242) |
| HSL | hsl(303, 88%, 75%) |
| HSV | hsv(303, 46%, 97%) |
| CMYK | cmyk(0%, 45.7%, 2%, 3.1%) |
| CIE-LAB | lab(71.72, 57.65, -35.78) |
| CIE-LCH | lch(71.72, 67.85, 328.18°) |
| OKLab | oklab(77.98% 0.1616 -0.0977) |
| OKLCH | oklch(77.98% 0.189 328.8) |
| XYZ | xyz(62.9090, 43.2386, 89.0195) |
| Luminance | 0.4324 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.71
Purply Pink
#F075E6
ΔE00 3.67
Lavender Pink
#DD85D7
ΔE00 5.13
Candy Pink
#FF63E9
ΔE00 5.80
Light Magenta
#FA5FF7
ΔE00 6.67
Violet Pink
#FB5FFC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F786F2 #86F78B
analogous
#C486F7 #F786F2 #F786BA
triadic
#F786F2 #F2F786 #86F2F7
tetradic
#F786F2 #F7C486 #86F78B #86BAF7
square
#F786F2 #F7C486 #86F78B #86BAF7
split-complementary
#F786F2 #BAF786 #86F7C4
monochromatic
#EF13E6 #F34DEC #F786F2 #FBBFF8 #FDE2FC
Accessibility & contrast
On white
2.18
#F786F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#F786F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F786F2
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F786F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F786F2 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#FE90B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #f786f2; /* rgb */ color: rgb(247, 134, 242); /* oklch */ color: oklch(78.0% 0.189 328.8);
Tailwind
colors: {
custom: {
50: '#fcacf6',
500: '#f786f2',
950: '#000000',
},
}SCSS
$custom: #f786f2; $custom-light: #fcacf6; $custom-dark: #000000;
JSON
{
"hex": "#f786f2",
"rgb": {
"r": 247,
"g": 134,
"b": 242
},
"hsl": {
"h": 302.655,
"s": 87.597,
"l": 74.706
},
"oklch": {
"l": 0.7798,
"c": 0.18884,
"h": 328.8
},
"luminance": 0.43235
}Semantic roles & 50–950 ramp
primary
#F786F2
secondary
#D6F5D7
accent
#E40B01
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85